-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
CheckTx gas estimation #962
Comments
Questions:
|
To-do:
OK to calculate gas-after-read in KVstore, need to be careful about spam attacks with unbounded inputs, either size-cap or check max gas in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a version of
CheckTx
which runs a transaction, estimates gas, and returns the required gas amount (which can then be used by clients).Track gas through transaction execution in the
Context
and abort once a transaction runs out of gas.The text was updated successfully, but these errors were encountered: