-
Notifications
You must be signed in to change notification settings - Fork 80
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
add SSTORE and SLOAD to traces #456
Conversation
0xkarmacoma
commented
Feb 12, 2025
will add a |
|
||
def sstore(self, ex: Exec, addr: Any, loc: Any, val: Any) -> None: | ||
ex.context.trace.append(StorageWrite(addr, loc, val)) | ||
|
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.
do you want to add this event even in the case of raising WriteInStaticContext below?
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.
yes, I think it's going to be useful for debugging - so you know what it tried to write that caused the revert
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.
in 4685084 |