Skip to content

Commit

Permalink
Info added
Browse files Browse the repository at this point in the history
  • Loading branch information
remedcu committed Jul 16, 2024
1 parent 3df8b0c commit f721078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/4337/certora/conf/SignatureLengthCheck.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"certora/harnesses/Account.sol",
],
"loop_iter": "3",
"optimistic_loop": true,
"optimistic_loop": true,
"msg": "Safe4337Module: Signatures Length Check",
"rule_sanity": "basic",
"solc": "solc8.23",
Expand Down
2 changes: 2 additions & 0 deletions modules/4337/certora/harnesses/Account.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ contract Account is Safe {
"ffffff" // excess data
Both will have the same canonical hash: 0xc860b1a81652620308a8138a17ef5105d9b18e6e766516ffd3de9897260d1320
For more details: https://docs.safe.global/advanced/smart-account-signatures
*/
function canonicalSignatureHash(bytes calldata signatures, uint256 safeThreshold) public pure returns (bytes32 canonical) {
uint256 dynamicOffset = safeThreshold * 0x41;
Expand Down

0 comments on commit f721078

Please sign in to comment.