Repository navigation
feat(spec-specs,tests): add the EIP-8272 recent root contract and its tests - #3738
Closed
AnkushinDaniil wants to merge 1 commit into
Closed
AnkushinDaniil wants to merge 1 commit into
AnkushinDaniil wants to merge 1 commit into
Conversation
… tests Co-authored-by: spencer-tb <spencer.tb@ethereum.org>
This was referenced Oct 8, 2026
Author
|
superseded by #3740 |
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.
Description
Brings the EIP-8272 work from spencer-tb#71 onto the Bogota fork module, with the deployment model from ethereum/EIPs#12443: the recent root contract is an ordinary contract created by the pre-signed transaction in the EIP at
0x8272D9679689Ea2f307140CdF9002D27dC00Ffff. The fork installs nothing.recent_roots.pymoves tosrc/ethereum/forks/bogotawith the address and the 320-byte runtime code from the EIP PR.apply_forkis untouched.EIP8272pre-allocates the contract with nonce 1 for state and blockchain tests, as feat(specs, tests): deploy the EIP-8141 expiry verifier as an ordinary contract #3729 does for the expiry verifier. No activation-install hook.tests/bogota/eip8272_recent_roots.contract.pyis gone, the code pin compares against the EIP bytes.VALIDATION_FIXED_GASis 119 andVALIDATION_TUPLE_GASis 296 for the new code. The install-at-transition test becomestest_fork_transition_leaves_recent_root_contract_unchanged.test_contract_deployment.pyis new: it runs the EIP's transaction before, at and after the fork block, then publishes a root and verifies it.fill tests/bogota/eip8272_recent_roots --fork Bogota: 173 passed.just typecheck lint-spec spellcheck deadcode format-check lintpass; I did not runlint-actionsandlock-check. The reference spec pin is unchanged because the EIP PR is not merged.Related Issues or PRs
frames-devnet@v1.0.0#3727.Checklist
just static<type>(<area>): <title>, where<type>and<area>come from an appropriateC-<type>, respectivelyA-<area>, label. The title should match the target squash commit message.