Skip to content

Commit 175136d

Browse files
fix: STAA-9 remediation commit i
1 parent 14e85ad commit 175136d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/foundry/mocks/MockValidator.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ contract MockValidator is ERC7739Validator {
100100
return owner == address(0) ? smartAccount : owner;
101101
}
102102

103+
/// @notice In practise should be designed to decode only necessary parameters and ignore or revert on excessive trailing data
103104
function onInstall(bytes calldata data) external {
104105
smartAccountOwners[msg.sender] = address(bytes20(data));
105106
}

0 commit comments

Comments
 (0)