-
Notifications
You must be signed in to change notification settings - Fork 42
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
Invalid gas computation/fork block in checkOutEternalGas #1745
Comments
dimalit
moved this from Code Review
to Ready For Release Candidate
in SKALE Engineering 🚀
Jan 15, 2024
skaled: 3.18.0-beta.0 |
DmytroNazarenko
moved this from Ready For Release Candidate
to Merged To Release Candidate
in SKALE Engineering 🚀
Jan 23, 2024
Verified on Regression network example TX
before patch
after patch timestamp
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
checkOutEternalGas uses Constantinople:
if ( externalGas >= baseGasRequired( ConstantinopleSchedule ) )
(libethereum/Transaction.cpp:193)This can lead to rejection of PoW transactions with enough, but not that many gas.
For example, transaction with 50kb of data would actually require 800k of gas, but PoW mechanism will reject it if supplied less than 3.6M gas.
See also #1600
This will need to be done as a patch so the state roots do not diverge
The text was updated successfully, but these errors were encountered: