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

Gate pre-fork requests on max uint256 excess inhibitor #26

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Conversation

lightclient
Copy link
Owner

h/t @mkalinin for the alternative idea to #23

--

Instead of gating pre-fork requests via the computed fee, Mikhail had the idea that we can just revert if during the calculation we find the current excess value to be 0xff..ff. It's a much smaller amount of overhead versus using a separate storage slot to signal the fork has passed, but also avoid the possibility of retriggering the reset condition post-fork.

@lightclient lightclient merged commit a78e84e into main Oct 1, 2024
1 check passed
daejunpark added a commit to daejunpark/sys-asm that referenced this pull request Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants