Skip to content
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

Set on update storage at the beginning of sstore #288

Merged
merged 1 commit into from
May 17, 2023

Conversation

ignasirv
Copy link
Contributor

This small fix is necessary to allow the full tracer to get the onUpdateStorage values for an SSTORE opcode that fails.
Motivation:

  • In the case of a call with an SSTORE opcode that fails (for example an oog), the Geth trace is returning the (not inserted) key and values of the sstore. This is currently imposible for the full tracer because in case of oog at SSTORE the call to onUpdateStorage is not reached so the key and value are no available for the trace.

Copy link
Contributor

@krlosMata krlosMata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😸

@krlosMata krlosMata merged commit 7ceecfd into develop May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants