-
Notifications
You must be signed in to change notification settings - Fork 19
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
Increase the call's MIN_RETAINED_GAS
#95
Comments
chfast
changed the title
Tune the call's
Increase the call's Apr 24, 2024
MIN_RETAINED_GAS
MIN_RETAINED_GAS
How about also defining the retained gas not by a fixed number, but rather as i.e. "maximum cost of SSTORE * 1.5x" ? |
The script for the analysis: #97. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The currently proposed value of
MIN_RETAINED_GAS
is5000
. This is exactly the cost of updating a "fresh" storage slot (so it cannot be done) but one can update a storage slot that is worm or has been updated/added before the call.I think we should increase
MIN_RETAINED_GAS
to the value always allowing updating a storage slot. Also consider adding a new storage value (20000).The text was updated successfully, but these errors were encountered: