-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Formal verification of Account (7702+7579) #5785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
- address handler = _fallbackHandler(msg.sig); | ||
- require(handler != address(0), ERC7579MissingFallbackHandler(msg.sig)); | ||
+ bytes4 selector = bytes4(msg.data[0:4]); | ||
+ address handler = _fallbackHandler(selector); | ||
+ require(handler != address(0), ERC7579MissingFallbackHandler(selector)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is necessary for the prover to understand that the selector being looked for matches the data being passed the the fallback handler. Don't ask me how many hours I wasted figuring that out !
} | ||
} | ||
|
||
rule delegatecallOpcodeRule( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule doesn't work. Some function can trigger CALL that HAVOC the ghosts ...
No description provided.