-
Notifications
You must be signed in to change notification settings - Fork 642
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
fix: gas cost calculation #1166
Conversation
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.
nice, smol naming nit to make a bit more clear that this is the previously tracked remaining gas
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
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.
lgtm, pending fmt
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.
@Wodann pls fmt and we can send
Formatting done. Thanks! |
* fix: gas cost calculation * Update crates/revm/src/inspector/gas.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * Update crates/revm/src/inspector/gas.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * fix: formatting
A bug was introduced in the last gas cost calculation in this commit. This PR fixes it.