Skip to content

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

Merged
lightclient merged 2 commits intomainfrom
fee-gate
Oct 1, 2024
Merged

Gate pre-fork requests on max uint256 excess inhibitor#26
lightclient merged 2 commits intomainfrom
fee-gate

Conversation

@lightclient
Copy link
Copy Markdown
Member

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.

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