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

Add global gas counter #75

Closed
adlerjohn opened this issue Feb 12, 2021 · 0 comments · Fixed by #77
Closed

Add global gas counter #75

adlerjohn opened this issue Feb 12, 2021 · 0 comments · Fixed by #77
Assignees
Labels
comp:FVM Component: FuelVM enhancement New feature or request

Comments

@adlerjohn
Copy link
Contributor

Currently there's no way to verify how much gas a transaction spent, since $gas is local. There should be a global gas counter. This would also ease the addition of local reverts if they are deemed necessary.

@adlerjohn adlerjohn added the enhancement New feature or request label Feb 12, 2021
@adlerjohn adlerjohn added the comp:FVM Component: FuelVM label Feb 18, 2021
@adlerjohn adlerjohn self-assigned this Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:FVM Component: FuelVM enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant