-
Notifications
You must be signed in to change notification settings - Fork 562
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
feat(revm, revme): gas inspector #222
Conversation
47c824e
to
2d6e8cf
Compare
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.
is it possible this hurts performance meaningfully?
@gakonst you mean new |
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.
Thank you
Gas counting became a bit harder with the introduction of gas blocks composed during analysis. So
GasInspector
was introduced to make it easier to count remaining gas after each executed step.Approach was adopted from
revm/bins/revme/src/statetest/trace.rs
Lines 10 to 17 in 1e25c99