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 GasLeft() function #239

Open
kroggen opened this issue Aug 4, 2023 · 0 comments · May be fixed by #255
Open

Add GasLeft() function #239

kroggen opened this issue Aug 4, 2023 · 0 comments · May be fixed by #255
Labels
feature New feature or request V4 To be released on hardfork V4

Comments

@kroggen
Copy link
Member

kroggen commented Aug 4, 2023

Add function for contracts to return the amount of remaining gas on the current transaction execution

  local remaining_gas = contract.gasLeft()
@kroggen kroggen added the feature New feature or request label Aug 4, 2023
This was referenced Sep 23, 2023
@kroggen kroggen added the V4 To be released on hardfork V4 label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request V4 To be released on hardfork V4
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant