feat: glamsterdam-devnet-7 - #393
Open
rakita wants to merge 4 commits into
Open
Conversation
…loy (#391) Adds the Amsterdam system-contract handling that was missing, causing a state-root mismatch on glamsterdam-devnet-6 at the Amsterdam activation block. EIP-8282 "Builder execution requests": post-block system calls (as SYSTEM_ADDRESS, empty calldata) to two predeploys, gated on Amsterdam: - builder deposit requests, 0x0000884d2AA32eAa155F59A2f24eFa73D9008282, type 0x03 - builder exit requests, 0x000014574A74c805590AFF9499fc7A690f008282, type 0x04 These also reset each predeploy's excess counter (storage slot 0) from the EXCESS_INHIBITOR sentinel (2^256-1) to 0 on first invocation; without the call the slot stays 0xff..ff and the computed state root diverges. EIP-7997: inserts the deterministic CREATE2 factory bytecode at 0x..0012 on Amsterdam activation (idempotent, balance-preserving). Wired both into SystemCaller (pre-exec factory predeploy; post-exec builder requests). Addresses, request types, and call order match the revm reference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Glamsterdam devnet-7 integration.
glam-devnet-7tip (feat(amsterdam): glamsterdam devnet-7 alignment (EIP-2780 runtime gas phase, fixtures v7.0.0) bluealloy/revm#3795, rev0c688c68)0x0000BFF46984E3725691FA540A8C7589300D8282, builder exit0x000064D678505AD48F8CCB093BC65613800E8282Devnet branch — not for merge into main.