This repository was archived by the owner on Apr 4, 2024. It is now read-only.
Replies: 1 comment
-
https://github.com/ethereum/evmone/blob/master/docs/efficient_gas_calculation_algorithm.md |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal:
Use more precise bounds for gasWanted via constant time estimates and/or linear time amortization analysis.
Current behavior:
Right now, it uses the user's set gas limit or capping it by an arbitrary number:
ethermint/app/ante/eth.go
Line 201 in 8e2c652
In the future with ABCI++, it may be possible to use gasUsed, but that's not possible now.
Desired behavior:
Ideally, Ethermint could use more tighter bounds without the full EVM execution:
Use case:
Requests may be closed if we're not actively planning to work on them.
Beta Was this translation helpful? Give feedback.
All reactions