Repository navigation
Description
Context for merging with Dan's plan. Spencer, 2026-12-01. Measured on forks/bogota ethereum/execution-specs@b452055059 against ethereum/tests develop ethereum/tests@c67e485 and ethereum/legacytests master ethereum/legacytests@1f581b8, cross-checked by two independent agents (a recount from filled fixtures and real collection, and a scan of the full git history).
This issue has three parts: this body (summary, decisions, proposed work, then the complete findings), the first comment (the full checklist) and the second comment (the full phased plan).
Summary
- The main gap is forks, not tests. Almost every legacy state test is already ported, but the ports start at Cancun while the originals also ran on Frontier through Shanghai. 2,086 of the 2,371 legacy state tests our tests cite run on fewer forks than the originals did, 1,868 of them missing forks before Istanbul.
- Some suites are not ported yet: about 500 legacy state tests (mostly covered natively or meant to be dropped), 609 VMTests, 436 blockchain tests, 162 transaction tests, and the RLP and trie vectors.
- Some legacy behaviour needs framework work (uncles, pre-Berlin fork transitions, the DAO fork, malformed block RLP). Some we waive and leave frozen in the archive (Constantinople EIP-1283, total difficulty, Ethash, difficulty tests).
- The old repos are still in use. geth, besu, nethermind, reth, revm, erigon, evmone, ethrex, KEVM, ethereumjs, nimbus and hive all read them. Archive only after they move.
Decisions so far (Spencer)
- Done means variant parity. Every legacy (test, fork, data/gas/value variant) result must map to an EELS case through
ported_from, following merges, except written waivers. - Build: uncles/ommers, pre-Berlin transitions plus the DAO fork, raw block RLP.
- Waive: Constantinople EIP-1283, total difficulty and competing chains, Ethash, difficulty tests.
- Non-EVM suites:
- KeyStore, ABI and JSONSchema stay frozen: not consensus.
- RLP, trie, genesis and basic vectors move into EELS's own spec tests.
- Generated families (DiffPlaces, ZK, per-vector precompiles, random blockhash): add only what native tests miss, backlink the rest.
- Stress and performance tests are exempt (vmPerformance, stQuadraticComplexityTest and similar). They belong in
tests/benchmark. - Coverage is the main check.
- Run legacy fixtures and EELS fills through coverage-built geth and nethermind, calling their runners directly (
evm statetest/blocktest,Nethermind.Test.Runner), fork by fork. Anything only the legacy fixtures reach gets ported or waived. - The tooling lives outside EELS, only to help the process, and any agent can run it. Trace comparison is a debugging aid only.
- Run legacy fixtures and EELS fills through coverage-built geth and nethermind, calling their runners directly (
- Order: start the fork floors now on files Mario's feat(test-types,test-specs,tests): add a BlockReward post term and merge zero/non-zero value call tests ethereum/execution-specs#3997 to fix(tests): clean up stBugs, stSolidityTest, stQuadraticComplexityTest and others ethereum/execution-specs#4006 don't touch, the rest after they land.
- Archive only after hive and the clients have switched.
Proposed work (to merge with Dan's plan)
Owners are a suggestion: S = Spencer, D = Dan.
- Set up. A helper repo outside EELS with the coverage harness, the parity recount and the release and history scans, plus instructions an agent can follow. Baseline numbers, then one sub-issue per phase.
- Unblock (D): fix the
json_loaderfork-name skip, param-levelvalid_from(fix(test-forks): param-level valid_from with a fork-covariant marker drops earlier forks for all params ethereum/execution-specs#4053), empty accounts in the pre-state (Audit pre-Cancun GeneralStateTest coverage in execution-specs ethereum/execution-specs#3404, feat(tests): port TouchToEmptyAccountRevert legacy tests ethereum/execution-specs#2388, feat(tests): test a touch after a failed create over an empty account ethereum/execution-specs#4055), and checking transaction fixtures against EELS (feat(test-specs): check transaction fixtures against the reference implementation ethereum/execution-specs#3916). - Fork floors (S, critical path). Lower each port to the earliest fork its original ever covered, add fork-specific expected results where they differ, re-gas the 109 Prague-capped tests. Work in batches, each gated by a full-range fill, the parity recount and the coverage diff.
- Unported state tests (S). Port the real orphans, add the missing ecmul/ecadd vectors and a ModExp gas-boundary test, decide the VMTests, triage the deleted tests, fix the bad citations and the inherited filler bugs.
- Framework (D). Ommers end to end, pre-Berlin transition forks, the DAO fork, a raw block RLP field.
- Blockchain, transaction and RLP lanes (S and D):
- the 205 portable blockchain tests, then the rest after step 5
- the transaction tests once they are checked against EELS
- the 26 invalid RLP encodings into the existing transaction RLP tests
- the RLP and trie vectors into restored spec tests
- Verify. Parity recount with no gaps outside the waivers, the coverage diff on geth and nethermind clean, every pre-merge fixture replayed through EELS.
- Consumers and archive.
- Announce a timeline, move hive's suites, help each client switch.
- Move the t8n reference docs into EELS.
- Close out the old repos' open PRs and issues.
- Archive both repos.
The full checklist is the first comment, the full phased plan is the second comment.
Open questions for Dan
- How this lines up with Dan's plan, especially Audit pre-Cancun GeneralStateTest coverage in execution-specs ethereum/execution-specs#3404 (Dan's pre-Cancun coverage audit), which covers part of steps 2 to 4.
- The split above, and whether you want the framework work (step 5).
- Whether there is a target date.
Complete findings
Labels: measured = computed from the repos on 2026-12-01, agent =
reported by a research agent and spot-checked, inferred = a reading,
not verified.
Where the legacy coverage lives
- ethereum/tests develop (
c67e485f, frozen since 2025-06-04, last
release v17.2). Fillers left: Blockchain 361, Transaction 212,
InvalidRLP 20, Difficulty 17, EOF 7. Filled for Cancun and later only.
The state tests and their fillers were deleted in remove general state tests ethereum/tests#1491 and Remove general state tests fillers ethereum/tests#1492. - legacytests/Constantinople: snapshot filled for Frontier through
ConstantinopleFix. 2,394 state fillers, 609 VMTests fillers and 10,905
blockchain fillers. 10,604 of those are blockchain wrappers of the state
tests, so only 301 are real blockchain tests. - legacytests/Cancun: snapshot filled for Istanbul through Cancun.
2,742 state fillers and 423 blockchain fillers, including the 21
TransitionTests. - What EELS imported: the 2,642 state fillers at ethereum/tests@7dc757ec,
converted to Python intests/ported_static/. refactor(tests): remove dead static-filler infrastructure ethereum/execution-specs#3283 then deleted the
static filler machinery andfiller_to_python. - Fillers that only exist in old releases (measured, v7.0.0 to v17.2):
1,496 are in no current source. 1,403 are the old EIP-2537 BLS
vectors (pre-final spec, replaced by native Prague tests), 31 are EOF
and 62 are transaction or blockchain fillers that were renamed or
removed. Nothing material is lost between snapshots.
Lane 1: fork coverage of the ported state tests
This is the tricky part. Authoritative files:
the independent recount's outputs (legacy_state_coverage.csv, summary.json) and scripts, moving into the helper repo.
Method (independent recount, review pass 2): each legacy test's forks are
the post keys of its filled fixtures in both snapshots. EELS coverage is
the state_test items that fill --collect-only --fork F tests/ actually
collects, so param-level markers count, mapped to legacy tests through
ported_from. Constantinople (EIP-1283) is excluded because EELS cannot
fill it. Misspelled or mis-suited citations are resolved, exact-name
numbers are in brackets.
- 2,371 [2,348] legacy tests are cited. 285 [271] have no gap, 2,086
[2,077] have one. For 1,929 of those EELS collects state tests only at
Cancun. - 1,868 [1,859] gaps include a fork before Istanbul, about 216 only need
Istanbul..Shanghai, and 2 are Cancun gaps (ports written as blockchain
tests only). - Tests missing each fork: Frontier 665, Homestead 1,204, Tangerine
Whistle 557, Spurious Dragon 505, Byzantium 1,747, ConstantinopleFix
1,780, Istanbul 1,952, Berlin 1,897, London 1,923, Paris 1,925,
Shanghai 1,930. - Legacy tests filled per fork: Frontier 745, Homestead 1,327, Tangerine
Whistle 671, Spurious Dragon 600, Byzantium 2,320, Constantinople 2,399,
ConstantinopleFix 2,393, Istanbul 2,490, Berlin 2,527, London 2,679,
Paris 2,610, Shanghai 2,617, Cancun 2,646. EELSstate_testcases per
fork today: Frontier 840, Homestead 910, Tangerine Whistle 908, Spurious
Dragon 990, Byzantium 2,361, ConstantinopleFix 2,562, Istanbul 2,693,
Berlin 3,640, London 3,927, Paris 3,942, Shanghai 4,137, Cancun 11,617.
These are cases, not tests, so they do not compare one to one. - Do not trust the legacy fillers'
networkfields. 2,180 of the
2,394 Constantinople-snapshot fillers declare fewer forks than their
fixtures were filled for. ConstantinopleFix is undeclared in all 2,180,
andlog3_MaxTopicdeclares only Frontier but has posts for 7 forks.
The first pass read the fillers and undercounted the pre-Istanbul gaps
(ConstantinopleFix 161 instead of 1,780). Port targets must come from
the filled fixtures. - Biggest suites with gaps (first pass): stRandom 310, stStaticCall 274,
stRandom2 220, stCallCodes 78, stPreCompiledContracts2 77, stMemoryTest
68, stSystemOperationsTest 67. - Lowering
valid_fromis not enough on its own. The Constantinople
snapshot often has different expectations per fork (randomStatetest0
has one expect block for Homestead and Byzantium and another for later
forks). Those need fork-conditional posts, which is what fix(tests): recover pre-floor fork eras in ported static tests with per-era posts #37
started.
Spencer's July work (state checked on GitHub 2026-12-01):
- refactor(tests): reorganize ported static tests into subject-fork folders #33 fork-folder moves, fix(tests): lower ported static valid_from floors to empirically verified forks #34 floors (1,128 tests at Frontier,
119,610 cases green), chore(tests): drop non-load-bearing hardcoded gas limits from ported static tests #35 gas-limit cleanup, fix(tests): rewrite ported static gas-snapshot tests with fork-derived measurements #36 gas-snapshot rewrites,
all open. fix(tests): recover pre-floor fork eras in ported static tests with per-era posts #37 per-era posts, closed. - They predate fix(tests): un-skip remaining Amsterdam ported static tests and drop the skip list (Pt. 2d) ethereum/execution-specs#3322, refactor(tests): fold CALL execution_cost + stale TODO cleanups ethereum/execution-specs#3606, chore(tests): THE BIG ported-static pre-alloc groups reduction ethereum/execution-specs#3758, refactor(tests): THE BIG ported-static call-chain tests collapse ethereum/execution-specs#3876 and Mario's ten PRs, so they
will not rebase. Re-running the floor finder on the current tree is the
realistic path. - The tooling survives untracked on Spencer's machine:
ported_floor_finder.py,apply_protected_fix.py,
verify_floor_minimality.py,reverse_orphan_audit.py, plus
ported_floor_map.csv,snapshot_parity.csv,floor_minimality.csv
and theorphans_*.txtlists. - July waivers that still apply: Constantinople (EIP-1283) is unfillable,
the pre-EIP-150 "forward all gas" shape floors 98 tests at Tangerine
Whistle, EIP-161 fundamentals floor 47 at Spurious Dragon, and pre-Paris
block rewards change coinbase balances in blockchain formats.
In flight and related:
- Mario's feat(test-types,test-specs,tests): add a BlockReward post term and merge zero/non-zero value call tests ethereum/execution-specs#3997 to fix(tests): clean up stBugs, stSolidityTest, stQuadraticComplexityTest and others ethereum/execution-specs#4006 (all open, 9 approved, fix(tests): merge call-family tests and unpin addresses ethereum/execution-specs#4005 needs review) merge
1,856 files into about 1,152. Floors should come after they land. - Audit pre-Cancun GeneralStateTest coverage in execution-specs ethereum/execution-specs#3404 (danceratopz, open) audits pre-Cancun state coverage. chfast notes
EELS cannot have empty accounts in the pre-state, which blocks the
state-clearing tests. feat(tests): port TouchToEmptyAccountRevert legacy tests ethereum/execution-specs#2388 and feat(tests): test a touch after a failed create over an empty account ethereum/execution-specs#4055 need the same thing. - fix(test-forks): param-level valid_from with a fork-covariant marker drops earlier forks for all params ethereum/execution-specs#4053 (chfast, open): a param-level
valid_fromdrops earlier forks for
every param. - Use historically-accurate per-fork block gas limits ethereum/execution-specs#2230 (open): historically accurate block gas limits per fork.
- feat(tests): test the code size limit from its activation ethereum/execution-specs#4058 (merged 11/27) runs stCodeSizeLimit from Frontier, which is the
pattern for the rest. fix(test-forks): model the pre-Berlin gas and refund schedules ethereum/execution-specs#3480 (merged) models pre-Berlin gas schedules.
feat(tests): cover ModExp gas before EIP-2565 ethereum/execution-specs#3237 (open) covers ModExp gas before EIP-2565. spec: limit the RIPEMD-160 (0x03) touch exception to Spurious Dragon ethereum/execution-specs#4057 (open): the
RIPEMD-160 exception is only covered by legacy tests.
Lane 2: unported state fillers
Source: the independent recount (authoritative) and the first pass, which also covers the ethereum/tests@7dc757ec pin and adds pin-only fillers such as stExpectSection 8.
513 legacy state tests (536 by exact name) are cited by no EELS test:
- stBadOpcode 117. 115 of them are
*DiffPlacesoutputs, and
test_scenariosalready cites the DiffPlaces generator scripts with a
coverage_missed_reason. Spencer's August triage: drop,
frontier/opcodes/test_all_opcodescovers it, pending one native
context-matrix test. - stZeroKnowledge 71 and stZeroKnowledge2 66. Covered by the native bn128
tests. leolara's Phase 0.4 found small gaps, still not added (agent):
ecmul scalars 616, 1456, 5616, 5617, 9935, one 64-byte input and 2
ecadd vectors. - stPreCompiledContracts 91, Constantinople snapshot only (per-vector
modexp and identity, consolidated upstream). - stChangedEIP150 30, Constantinople only. Spencer's August triage called these
a port candidate. - stTimeConsuming 31 by file (the
sstore_combinationsnames changed
between snapshots). Done per chore(tests): Port allstTimeConsumingto benchmark tests folder ethereum/execution-specs#1572: feat(tests): restore sstore_combinations as a hand-written test ethereum/execution-specs#3154 restored
sstore_combinationsfrom Byzantium, so these only need backlinks, and
Blake2f and SHA256 were dropped as adding no coverage. - stRevertTest 14, stNonZeroCallsTest 12, stZeroCallsTest 12,
stZeroCallsRevert 8, stEIP4844 5, stTransactionTest 3. In flight:
feat(tests): port TouchToEmptyAccountRevert legacy tests ethereum/execution-specs#2388 (TouchToEmptyAccountRevert), feat(tests): test a touch after a failed create over an empty account ethereum/execution-specs#4055, feat(tests): cover ModExp gas before EIP-2565 ethereum/execution-specs#3237. - stExpectSection 8 (pin only), retesteth self-tests, drop.
- A tail of about 50. Several are the EIP-7610 collision tests removed on
purpose (chore(tests): remove EIP-7610 create collision tests ethereum/execution-specs#3417). - Bad citations the recount found:
test_ecmul.pycites 14
stZeroKnowledge2 tests as stZeroKnowledge, 9 citations misspell legacy
names (InternalCallvsInternlCall,SuccessvsSucces), 1 cites a
test that does not exist (ecmul_1-2_616_21000_96), and some URLs are
malformed.
leolara's June routing on ethereum#2556 (agent): of the 2,642 pin fillers, 2,340
ported, 248 to parametrize, 40 for filler_to_python, 14 to review against
native. Of the 2,394 Constantinople state tests, 2,011 ported, 182
backlink, 145 parametrize, 34 filler_to_python, 22 to decide. She
replayed 20,714 legacy post-states through EELS with 0 mismatches.
filler_to_python is gone since ethereum#3283, so the 34 to 40 individual ports
are now hand or AI ports. Her tooling PR was never opened.
Lane 3: VMTests
- 609 fillers in the Constantinople snapshot, Frontier through
ConstantinopleFix. 2 match by name and 21 more are cited by the native dynamic-jump
tests from feat(tests): add dynamic-destination JUMP/JUMPI invalid-target tests ethereum/execution-specs#3153 (measured). - leolara compared bytecode (agent): 284 exact, 21 close, 304 below 90%.
Her routing: 301 backlink, 240 drop, 68 to decide. feat(tests): add dynamic-destination JUMP/JUMPI invalid-target tests ethereum/execution-specs#3153 ported the
dynamic-jump family. - There is no VM test fill format. They would be ported as state tests.
All 55 portedvm*files start at Cancun (agent).
Lane 4: blockchain tests
Files: scripts/bc_networks.py (measured).
- 436 unique fillers, none cited by any EELS
ported_from. - By suite: bcRandomBlockhashTest 105, bcStateTests 96,
bcUncleHeaderValidity 27, bcUncleTest 25, bcValidBlockTest 22,
bcInvalidHeaderTest 22, bcEIP1559 19, bc4895-withdrawals 15,
bcExpectSection 15 (retesteth self-tests), bcTotalDifficultyTest 11,
bcMultiChainTest 9, bcUncleSpecialTests 9. - TransitionTests 21: FrontierToHomesteadAt5 7, HomesteadToDaoAt5 4,
BerlinToLondonAt5 3, ArrowGlacierToParisAtDiffC0000 3, plus single
Homestead to EIP150, EIP158 to Byzantium, Byzantium to ConstantinopleFix
and Paris to Shanghai tests. - Many develop fillers (Cancun and later) overlap native EELS suites such
as withdrawals, 1559 and 4844. That needs a per-suite check (inferred).
What the framework can do (agent, file:line evidence in the agent report):
- Pre-merge
blockchain_testfills work. Seal is NoProof, difficulty
defaults to 0x20000 or is derived by the spec, and block rewards are
paid. CI already fills Frontier..Paris and replays them through EELS. - Invalid headers work through
rlp_modifier(19 test files use it). - Cannot do:
- Uncles.
Block.ommersexists but nothing reads it,ommers=[]is
hardcoded. - Total difficulty, or choosing between competing chains.
- The DAO balance move. The filler never calls
apply_dao. - Pre-Berlin transitions.
BerlinToLondonAt5is the only pre-merge
transition fork, and transitions can only be keyed on block number or
timestamp, not total difficulty. - Raw malformed block RLP.
Blockhas no field for it.
- Uncles.
- Before refactor(json_loader): update json_loader tests to use the
fill-then-consumeworkflow ethereum/execution-specs#2369, EELS's own runner already listed bcForkStressTest,
bcGasPricerTest, bcMultiChainTest, bcTotalDifficultyTest and
bcForgedTest as expected failures, so EELS never ran them (agent).
Lane 5: transaction, RLP, difficulty and the rest
- TransactionTests: 212 fillers, 50 matched, 162 orphans (measured):
ttSignature 34, ttVValue 27, ttWrongRLP 27, ttRSValue 22, and smaller
suites. Native work: feat(tests): add type-0 transaction RLP validity tests ethereum/execution-specs#3156 (36 type-0 RLP cases), fix(tests): test tx max nonce at u64 boundary, add nonce overflow test ethereum/execution-specs#3165, feat(tests): in-range signature that recovers no public key ethereum/execution-specs#3573. - Transaction fixtures are never checked against EELS (agent). Fill
ignores the t8n and records the exception the author wrote,
json_loaderhas no transaction loader, and the geth consumer only
takes state and blockchain fixtures. The PRs that would check them
(feat(spec-specs): expose state-independent transaction validation ethereum/execution-specs#3492, feat(test-fixtures): resolve implicit transaction test gas limits ethereum/execution-specs#3493, feat(spec-tests): validate transaction test fixtures against EELS ethereum/execution-specs#3494) were closed unmerged on 10/21. Resolve implicit gas limits in transaction tests ethereum/execution-specs#3489, feat(test-specs): check transaction fixtures against the reference implementation ethereum/execution-specs#3916 and
Make t9n like consume tool in eels to validate transaction tests ethereum/execution-specs#1508 are open. - InvalidRLP 18, Difficulty 17 and EOF 7 are unported. There
is no fill format for difficulty tests, and re-factor(weld): move current tests to json_infra ethereum/execution-specs#1360 deleted the EELS
difficulty tests. EOF is dead. - RLP, Trie, Basic, PoW, ABI, Genesis and KeyStore tests: refactor(json_loader): update json_loader tests to use the
fill-then-consumeworkflow ethereum/execution-specs#2369
dropped EELS's runners for ethash, rlp, transaction and trie tests.
Lane 6: how the spec checks itself per fork
- refactor(json_loader): update json_loader tests to use the
fill-then-consumeworkflow ethereum/execution-specs#2369 (merged 3/9) movedjson_loaderfrom ethereum/tests fixtures to
filling theeels_base_coveragesubset and replaying it. The subset is
87 decorators in 60 files, none inported_static(agent). Cases per
fork: Frontier 337, Homestead 393, Tangerine Whistle 393, Spurious
Dragon 396, Byzantium 557, ConstantinopleFix 567, Istanbul 593, Berlin
850, London 865, Paris 865, Shanghai 876, Cancun 996. - Bug, verified in the code:
json_loadernames forksEIP150
andEIP158(tests/json_loader/hardfork.py:19-31), EELS fixtures use
TangerineWhistleandSpuriousDragon, andspec_fork_namedoes not
map them (load_blockchain_tests.py:49-63). Sojust json-loaderand
validate-blockssilently skip every fixture for those two forks. The
agent confirmed it with a probe JSON, and in review a real fill of
test_signextend.pyreplayed 4/4 at Homestead and Byzantium but ran 0
tests at Tangerine Whistle and Spurious Dragon. - fix(tooling): include namespace packages in coverage reports ethereum/execution-specs#2982 found that fill coverage had silently skipped those two forks.
feat(test-forks): enable filling for TangerineWhistle and SpuriousDragon ethereum/execution-specs#2992 (6/16) turned their filling on. - Native case counts per fork, full
tests/collect (agent): Frontier
1,770 (424 from 11ported_staticfunctions), Homestead 1,910,
Byzantium 5,147, Istanbul 5,848, London 8,382. These count every
format, so they do not compare one to one with leolara's legacy
post-state counts (ConstantinopleFix 10,569, Byzantium 4,802, Homestead
2,002, Spurious Dragon 1,221, Tangerine Whistle 1,096, Frontier 1,023).
Lane 7: consumers and policy
Who still runs the old repos (agent):
- geth: submodule at
c67e485ff8, reads LegacyTests/Constantinople state
tests, TransactionTests, RLPTests and BasicTests, plus EELS tests@v21.0.1. - hive consensus simulator: suites
consensus,legacy,legacy-cancun
(Support Prague consensus fixtures and RPC gas target ethereum/hive#1585). - nethermind pinned at
08b5fe38c2, turned on 32 more legacy files on
11/6 (test(fixtures): run the legacy transition and VM fixture classes that found no files NethermindEth/nethermind#15641). - besu pinned back to ethereum/tests v14.1 (Revert "Update ethereum/tests submodule to v17.2 for Prague support (… besu-eth/besu#9128): "EEST has not
closed this gap yet", reference tests dropped from 75,921 to 27,829. - reth on v17.0, revm clones legacytests, erigon runs hive
legacy
(32,615) andlegacy-cancun(111,983), evmone runs v17.2 plus
LegacyTests/Cancun.
What maintainers have said (agent):
- winsvega, 2025-04-24: legacytests "remains as is as legacy tests
optional to run… we won't eventually be able to support all forks for
all tests." - danceratopz, 2025-10-02: "it is not currently planned to port the
remaining yml,json fillers." - SamWilsn, 2025-06-13: opposed to removing pre-merge forks or PoW code.
2026-06-15: "fillis the entirety of EELS' test coverage." - chfast, 2026-03-12: clients that keep Constantinople would need to keep
using legacy tests. - Audit pre-Cancun GeneralStateTest coverage in execution-specs ethereum/execution-specs#3404 rules out byte-for-byte fixture identity when the tests are shown
to be equivalent. - legacytests is still being edited: fix: correct pre-Spurious Dragon state roots for invalid transaction tests ethereum/legacytests#16 and Restore pre-EIP-7610 legacy test expectations ethereum/legacytests#18 are open, and Restore pre-EIP-7610 legacy test expectations ethereum/legacytests#18 is on
the release tracker Test Release Tracker:tests@v21.0.0(Glamsterdam Testnet) ethereum/execution-specs#3217.
Full release scan
Every ethereum/tests tag (48, PoC6 to v17.2), every legacytests commit
(30), each tag's LegacyTests submodule pin and the v17 fixture tarballs.
Forks per fixture come from the filled JSON (state post keys,
blockchain network, transaction result), regexes checked against
parsed JSON with 0 mismatches.
- 99,122 (test, fork) pairs in all revisions, 85,964 in current sources,
13,158 only in old revisions. EELS covers 98 of those. - Most of the rest moved or was dropped on purpose: renamed or moved to
another suite (about 5,600 pairs), Paris to Cancun fills moved to
*_Parissiblings (492), old BLS and EOF vectors and retesteth
self-tests (about 3,100), EELS's own Pyspecs copies (387), Constantinople
EIP-1283 (about 5,200 blockchain fills), pre-fork EIP networks, and the
2014 to 2015 PoC6 and olympic formats. - Truly old-release-only: 182 state tests (447 pairs) and 800 blockchain
tests (1,729 pairs, mostly the same tests in blockchain form). The bulk
is per-case VMTests at Istanbul and Berlin (529, only in v7.0.1),
per-vector stPreCompiledContracts at Istanbul to London (92),
stChangedEIP150 at Istanbul to London (22) and about 35 individually
deleted tests.
Git history scan (every commit, not only release tags)
Method: git log --all --diff-filter=ADR -M over both repos (96,182 delete or rename events, fillers included), plus 432 tests that dropped out of multi-test files through an edit, the diffs between the three fixture tarball versions, and the last version of every deleted file read for its test names and forks. Today's tips: ethereum/tests develop ethereum/tests@c67e485 (both fixture tarballs included) and ethereum/legacytests master ethereum/legacytests@1f581b8, 8,848 test names. Matching ignores case, -/_, spaces, _dNgNvN variant suffixes and _<Fork> suffixes.
Tests removed and absent from today's tips
3,892 units (a test name within one format, so a state test and its blockchain copy count separately), 2,263 distinct names. By reason:
- Renamed: 212 (state 175, blockchain 20, transaction 16, VM 1). Check their forks under the new names.
- Consolidated: 94 (state 43, blockchain 50, transaction 1). Check the target covers the same cases and forks.
- Removed as invalid: 133 (state 53, blockchain 25, transaction 13, VM 42). Nothing to port.
- Moved to another format: 204 (state 101, blockchain 103). 193 of them are state tests using BLOCKHASH that came back as
*BCblockchain tests (ethereum/tests@e51fb53b18), and those exist at the tip. - Feature dropped: 2,948. Draft EIP-2537 BLS 2,806 (all EIPTests were removed in ethereum/tests@78e58e1b6e), EIP-86 zero-signature transactions 66, EOF 52, EIP-2315 subroutines 24.
- Retesteth self-tests and examples: 3. Pre-launch (before 2015-07-30): 228. EEST-generated Pyspecs copies: 54.
- Unknown: 16.
Per fork, counting only the meaningful reasons (renamed, consolidated, invalid, moved, unknown: 662 tests, forks read from the last version): Frontier 505, Homestead 502, Tangerine Whistle 499, Spurious Dragon 513, Byzantium 354, Constantinople 82, Petersburg 66, Istanbul 62, Berlin 39, London 52, Paris 20, Shanghai 18, Cancun 3. Without the renamed ones: Frontier 328, Homestead 325, Tangerine Whistle 323, Spurious Dragon 324, Byzantium 193, Constantinople 58, Petersburg 50, Istanbul 46, Berlin 25, London 26, Paris 18, Shanghai 18, Cancun 3. Another 86 had no fork (45 VM, 40 empty state tests, 1 transaction test). 532 of the 662 were never in a tagged release.
Removed as invalid (133)
- ethereum/tests@eb7cb8b97e (2017-06-09): 43 empty stStaticCall tests, 40 with no post section, 3 covering Frontier to Byzantium
- ethereum/tests@4faa8c5dec, ethereum/tests@5e440aa436, ethereum/tests@fd7e3a0433 (Remove VM tests using the mock BLOCKHASH/BALANCE instruction just for VM tests ethereum/tests#444, 2018-04): 42 VM tests that touch world state or use the mock BLOCKHASH or BALANCE, no fork
- ethereum/tests@c09efc4177 (Update the
TestEachOpcodetemplate for Cancun, and remove the 0xE0 block ethereum/tests#1320, 2023-11-27):testOpcode_e0to_ef, 16 blockchain tests, Paris and Shanghai - ethereum/tests@967a1bbefe and ethereum/tests@3040ab23cc (2021-10 and 11): 12 failing ttWrongRLP tests (
TRANSCT__WrongCharAtRLP_0to_9,RLPWrongAddress,RLPWrongData), Frontier to London - ethereum/tests@2c060bff77 (Allfieldhex ethereum/tests#153) and ethereum/tests@f71c2688e1 (2017): stBlockHashTest
blockhash0,blockhashDOS-sec71,blockhashInRange,blockhashJIT,blockhashOutOfRange, state and blockchain (10 units), Frontier to Spurious Dragon - fix gasLimit issue in GeneralStateTests ethereum/tests#590, convert stashed state tests into blockchain ethereum/tests#607, empty folder check ethereum/tests#777 (2019):
randomStatetest391andTransactionFromCoinbaseHittingBlockGasLimit(4 units), Frontier to Petersburg, parked insrc/0MoveToBlockchainthen deleted without being converted - Single tests:
CALLBlake2f_InputLength(ethereum/tests@85912528ce, Istanbul),ChainAtoChainB_blockorder2(ethereum/tests@8701533302),wallet2outOf3txsRevoke2(ethereum/tests@9c11964e9f),shallowStackOK(ethereum/tests@d94eda436d), Frontierdelegatecall(ethereum/tests@f1e68061f3), an emptyttWrongRLPTransaction.json(ethereum/tests@bedbe0792a)
Consolidated (94)
- ethereum/tests@a0ec09cffa (update tests with 250M gas limit ethereum/tests#191): 54 stBoundsTest
*OOGtests, Frontier to Spurious Dragon, folded into the gas-parametrized stMemoryStressTest (ethereum/tests@814cf9f7a2) - ethereum/tests@af426cf263 (retesteth refactoring ethereum/tests#696):
BLOCK_WrongCharAtRLP_0to_19, 20 blockchain tests, Frontier to Istanbul - ethereum/tests@7eda12ebef and ethereum/tests@0e95f0f33e: 9 stEIP3607 tests and 1 ttGasLimit test, Frontier to London, merged while their PR was in review
- ethereum/tests@a676261e95 (Precompiled ethereum/tests#580):
RevertPrecompiledTouchCCandDC(4 units) - ethereum/tests@dada22233f (Add State Tests for Unused Opcodes ethereum/tests#261): 4 badOpcode tests merged into
badOpcodes - ethereum/tests@ba33dc8c28 and ethereum/tests@d94242c18a:
lowIntrinsic(2 units), London
Unknown (16)
- ethereum/tests@c58d3dce3f:
CallEcrecoverPointAtInfinity,refund_multiple_internal_call_plus_suicide,uncleTimestampTooBig,uncleTimestampMaxUint256 - ethereum/tests@383874f2bd:
invalidTx,ECSigPointAtInfinity - ethereum/tests@8c39257df2:
CallingCanonicalContractFromForkand its_CALLCODEvariant (the forks for these first three groups are Frontier, read from the directory) - ethereum/tests@f32954b3dd:
CallEcrecoverHighSValue(Homestead) - ethereum/tests@45d80d92d7:
JUMP1_Bounds(Homestead) - ethereum/tests@f69587bf09:
callstatelessToReturn1 - ethereum/tests@7458738f0b (Revert tests ethereum/tests#149):
RevertOpcodeFail - ethereum/tests@b7337ec06b (Update tests for BLOCKHASH refactoring EIP ethereum/tests#176):
randomBlockTest - ethereum/tests@9af5398232 (fix failing Statetests and Blockchain tests ethereum/tests#222):
wallet2outOf3txs3 - ethereum/tests@ddba26a8c7 (Splitvmtests ethereum/tests#296): the random cases in
vmInputLimits.jsonandvmInputLimitsLight.json
Coverage that only existed between releases
- A tag here means the tree at the tag, plus the legacytests commit it pins, plus any fixture tarballs.
- 17,423 of 94,663 (test, fork) pairs were never at any tag. 1,379 tests (3,342 pairs) never reached a tag at all, the other 14,081 pairs are extra forks on tests that were tagged.
- Biggest forks: Frontier 3,846, Spurious Dragon 3,701, Tangerine Whistle 3,528, Berlin 2,850, Homestead 2,225.
- Main cause: there is no tag between
olympic(2015-07-29) and v6.0.0-beta.1 (2018-10-24). Example:randomStatetest503covered Frontier, Tangerine Whistle and Spurious Dragon in 2017, but only Homestead, Byzantium and Constantinople at v6. The Berlin pairs are the draft BLS tests, added and removed between v7.0.0 and v7.0.1.testOpcodesexisted only from 2020-10-03 to 10-05. - None of these pairs is at today's tips. About 11,200 are extra older forks on tests that still exist, so the fork floors should target the earliest fork a test ever covered in history, not only the snapshots.
Caveats
- Generous name matching can over-match, so the removal counts are a lower bound.
- A file whose inner test name changed while the file name stayed is not tracked, and forks dropped from tests that still exist only show up in the between-releases numbers.
- Most reasons come from commit messages. A few are inferred: the BLOCKHASH state tests, the 0xE0 opcode block and the consolidations.
- Metropolis is folded into Byzantium. Git skipped inexact rename detection in ethereum/tests@f71c2688e1 (too many files), so name similarity stands in there.
- 7 names exist only on unmerged branches, for example EIP-4758 SENDALL.
Who still reads the old repos
Consumers
- geth:
tests/testdatasubmodule (state, blockchain, transaction, RLP, basic, LegacyTests) - besu: submodule pinned back to v14.1 after v17.2 cut its reference tests from 75,921 to 27,829
- nethermind: submodule, nearly every suite including trie and keystore
- reth: ef-tests via
Makefile - revm:
scripts/run-tests.sh - erigon: hive
legacyandlegacy-cancun - evmone:
circle.yml, ethereum/tests plus LegacyTests/Cancun - ethrex: LegacyTests/Cancun state and blockchain tests
- KEVM: submodule
- ethereumjs:
scripts/legacyEthereumTests.mjs - nimbus: KeyStoreTests via nim-eth
- hive: the
consensussimulator clonesethereum/tests, scheduled by hive-tests asconsensus,legacyandlegacy-cancun
Method corrections along the way
Pass 1:
- Fixed a matching bug: hyphen vs underscore suite names, and same-named
tests in different suites counted as ported. - Added 14 missing checklist items, among them 109 ported tests capped at
Prague by EIP-7825's gas cap, an inherited vacuous port (Invalidtoin returndatacopy_after_failing_delegatecallFiller ethereum/tests#1417),
more consumers (ethrex, KEVM, ethereumjs, nimbus, hive-tests
workflows), the generators and a variant-level parity gate. - Reproduced the Tangerine Whistle / Spurious Dragon replay skip with a
real fill.
Pass 2:
- An independent recount agreed on the totals but showed the first pass's per-fork
numbers before Istanbul were far too low, because the Constantinople
fillers under-declare their forks. Lane 1 and Lane 2 now use the
recount. - Checked every referenced PR and issue, the licences (both old repos
MIT, EELS CC0), hive's simulators (onlyconsensususes the old repos)
and geth's exact folders. - chore(tests): Port all
stTimeConsumingto benchmark tests folder ethereum/execution-specs#1572 is done, so stTimeConsuming only needs backlinks. feat(tests): port TouchToEmptyAccountRevert legacy tests ethereum/execution-specs#2388, feat(tests): test a touch after a failed create over an empty account ethereum/execution-specs#4055
and feat(tests): cover ModExp gas before EIP-2565 ethereum/execution-specs#3237 already port some orphans. The recount found bad
ported_fromcitations.
Pass 3: the earlier
release check only compared filler names at 15 tags. Replaced by the full
release scan above, which added section 4b to the checklist.
Activity
spencer-tb commentedon Dec 1, 2026
Part 2 of 3: the full checklist
Everything decided and still open, item by item. Items marked [x] are decisions already taken.
1. Decisions (gate everything else)
UNSUPPORTED_FORKS)ported_from. Every legacy (test, fork, data/gas/value) result maps to an EELS case, followingported_fromthrough every merge (a merged test counts for each legacy test it cites), except a written waiver list. Needs the bad citations fixed and markers kept through merges, because many tests were ported twice (YAML to converter Python to refactored or merged Python)ethashethereum/execution-specs#3173)DAOForkis ignored by the frameworkrlp_modifiercan set a wrong one. Unverified: the bomb-delay vectors need block numbers in the millions, so a chain starting at a high block numbertests/frontier/validation/test_transaction_rlp.py(2**256 value) and only needs a backlinktest_scenariosalready cites), stZeroKnowledge 71 and stZeroKnowledge2 66, stPreCompiledContracts 91, bcRandomBlockhashTest 105stTimeConsumingto benchmark tests folder ethereum/execution-specs#1572 closed as done: feat(tests): restore sstore_combinations as a hand-written test ethereum/execution-specs#3154 restoredsstore_combinationsintests/istanbul/eip2200_net_gas_metering/test_sstore_combinations.pyfrom Byzantium but cites only the_Parisfillers, so the 18 pre-Paris variants (Istanbul to London) need adding to itsported_from. Blake2f and SHA256 were dropped as adding no coveragetests/benchmarkor drop them: vmPerformance 21 (unported), stQuadraticComplexityTest 17 (16 ported, 13 capped at Prague), stTimeConsuming's Blake2f and SHA-256 ones (already dropped in chore(tests): Port allstTimeConsumingto benchmark tests folder ethereum/execution-specs#1572), stAttackTest 2 (ported, can stay).tests/benchmark/computealready covers blake2f, sha256, modexp, keccak, memory and call context. stMemoryStressTest stays consensus (out-of-gas at huge memory sizes)src/Templates(DiffPlaces, RandomTests, TestEachOpcode, EOF1) andsrc/randomCodeOptions.json: not ported, they follow the decision abovetrietestnextprev(trie iteration order)fill-then-consumeworkflow ethereum/execution-specs#2369 deleted only because they cloned ethereum/tests (tests/json_infra/test_rlp.py,test_trie.py,test_transaction.py). RLPTests (3 files) intotest_rlp.py, TrieTests (5 files, nottrietestnextprev) intotest_trie.py, GenesisTests and BasicTests'genesishashestestandblockgenesistestinto the existingtests/json_loader/test_genesis.py, BasicTests'hexencodetestinto the trie test,keyaddrtest,cryptoandtxtestinto the existing codec tests. The fixtures already exercise all of these in clients (roots, genesis hashes, sender recovery) andtests/mptcovers trie shapesint32Overflow,wrongSizeList,bytesShouldBeSingleByte00, leading zeros in lengths, ...). A client that accepts a non-canonical encoding forks off. Port them into the existingtests/frontier/validation/test_transaction_rlp.py, no new framework: 14 already have a matching case (test_non_canonical_single_byte,test_data_size_leading_zeros,list_size_leading_zeros,empty,truncated,header_declares_more,extra_byte), 12 need new parameters (long-form length for a short payload x4, 8-byte length overflow x2, truncation inside a field x4, single bytes 0x00 and 0x7F). Also embed each as an invalid transaction in a block (thetest_blob_txs_full.pypattern), because transaction fixtures are never checked against EELS butvalidate-blocksreplays blocks through itethereum/testsandethereum/legacytestsethereum/execution-specs#2556 and First Class Ported Static Tests Tracker ethereum/execution-specs#32722. Framework fixes (before porting at scale)
json_loaderkeys forks asEIP150/EIP158(tests/json_loader/hardfork.py:19-31), sojson-loaderandvalidate-blocksskip every TangerineWhistle and SpuriousDragon fixture. Reproduced: one real fill replays 4/4 at Homestead and Byzantium and "no tests ran" at both of those forksvalid_fromdrops earlier forks for every paramTransactionTest.generatedrops the t8n (del t8n) and records the exception the author wrote, andjson_loaderhas no transaction loader. Earlier attempts: feat(spec-specs): expose state-independent transaction validation ethereum/execution-specs#3492, feat(test-fixtures): resolve implicit transaction test gas limits ethereum/execution-specs#3493, feat(spec-tests): validate transaction test fixtures against EELS ethereum/execution-specs#3494 (closed 10/21), Resolve implicit gas limits in transaction tests ethereum/execution-specs#3489, feat(test-specs): check transaction fixtures against the reference implementation ethereum/execution-specs#3916, Make t9n like consume tool in eels to validate transaction tests ethereum/execution-specs#1508Block.ommersend to end (specs/blockchain.py:789hardcodesommers=[]), Ethash sealing, total difficulty and multi-chain fixtures,apply_daoin the filler plusDAOFork, block-number transition classes for pre-Berlin forks, a raw block RLP field, a difficulty fixture formatported_staticalone was 119,610 cases). Releases filltests/from each test's ownvalid_from(pytest-fill.initestpaths,--until=Amsterdam, no--from) and the pre-shanghai shard exists, so lowered floors reach releases with no config change3. State tests: fork coverage (critical path)
ported_fromon every merged test (all 1,872ported_staticfunctions have it today)forks/bogota, refactor(tests): reorganize ported static tests into subject-fork folders #33 in 291. The July tooling (ported_floor_finder.py,apply_protected_fix.py,verify_floor_minimality.py) is untracked on Spencer's machinelog3_MaxTopicdeclares Frontier, its fixture covers 7 forks)valid_until("Prague")and are the only port of their source, so those legacy tests have no Osaka to Bogota coverage. At least 76 send transactions above Osaka's 16,777,216 gas cap (EIP-7825). By suite: stQuadraticComplexityTest 13 are bench, drop them for Osaka onward. About 40 recursion and depth tests (stStaticCall 26, stCallCreateCallCodeTest, stSystemOperationsTest) need re-gassing with per-fork depth pins as in Pt.2. About 30 random tests (stRandom 17, stRandom2 13) just need a lower gas limit4. State tests: unported fillers and inherited bugs
ported_frombacklinks for everything dropped as covered, so the parity audit sees itported_fromcitations the recount found:test_ecmul.pycites 14 stZeroKnowledge2 tests as stZeroKnowledge, 9 citations misspell legacy names (InternalCallvsInternlCall,SuccessvsSucces), 1 cites a test that does not exist (ecmul_1-2_616_21000_96), and some URLs are malformedtoin returndatacopy_after_failing_delegatecallFiller ethereum/tests#1417 / Fix returndatacopy_after_failing_delegatecallFiller ethereum/tests#1420: ourtest_returndatacopy_after_failing_delegatecallsends its transaction to an account with no code, so the DELEGATECALL and RETURNDATACOPY path never runs and the test passes without testing anything (confirmed)arith), Remove random state test withBLOCKHASHethereum/tests#1406 and remove the random state test usingBLOCKHASHethereum/legacytests#15 (random test using BLOCKHASH): triage against our portsGasLimitHigherThan2p63m1test underbcInvalidHeaderTestthrows no exception ethereum/tests#1218 (GasLimitHigherThan2p63m1raises no exception) when bcInvalidHeaderTest is ported4b. Coverage that only exists in old releases (full release scan)
Scanned all 48 ethereum/tests tags, all 30 legacytests commits, each tag's LegacyTests submodule pin and the v17 fixture tarballs: 99,122 (test, fork) pairs, 13,158 of them in no current source. After removing what moved (renamed,
*_Parissiblings, other suites), what EELS already covers (98) and what was dropped on purpose, this is what remains. The per-pair data moves into the helper repo.modexp_*tests are 18 (base, exp, mod) triples, each run at six fixed call gas levels (20,500 to 1,000,000), filled for Istanbul to London only in v7.0.1 and 9.0.5. All 18 triples survive inmodexpTests.json, but it forwards all gas, so the out-of-gas boundary is gone, and it skips Istanbul. EELS tests the values from Byzantium (test_modexp.py) and the gas from Osaka (EIP-7883), but nothing covers the EIP-2565 boundary from Berlin to Prague (feat(tests): cover ModExp gas before EIP-2565 ethereum/execution-specs#3237 only covers before EIP-2565). Add a fork-parametrized call-gas boundary test from Byzantium onadd0,dup1): Istanbul and Berlin fills exist only in v7.0.1 (as blockchain tests). For 258 of them the exact code (205) or the same opcode sequence (53) is still in the Istanbul-and-later VMTests, and the other 273 have no code match (vmArithmeticTest 103, vmIOandFlowOperations 94, vmPushDupSwapTest 41, vmPerformance 17). Decide them with leolara's bytecode routing (301 backlink, 240 drop, 68 decide), and fill every port through the current forks, not just to ConstantinopleFix*BCblockchain tests), renamed 212 (check their forks under the new names)*OOGfolded into stMemoryStressTest,BLOCK_WrongCharAtRLP_0to_19, stEIP3607, RevertPrecompiledTouch CC and DC, badOpcode, lowIntrinsic) and unknown 16 (CallEcrecoverPointAtInfinity, ECSigPointAtInfinity, CallEcrecoverHighSValue, JUMP1_Bounds, uncleTimestampTooBig and MaxUint256, CallingCanonicalContractFromFork, RevertOpcodeFail and a few more)*_Parissibling tests (492 pairs), pre-fork EIP networks (Merge+1153,Merge+3540+3670,Merge+3860), Constantinople (EIP-1283) blockchain fills dropped from legacytests (about 5,200), EELS's own Pyspecs copies, the old BLS and EOF vectors, and the 2014 to 2015 PoC6 and olympic formats5. Blockchain tests (436 fillers, none cited by EELS)
6. Transaction and small suites
7. Verification gates
postkeys against real--collect-onlyruns) shows no gaps outside the waiver list. A filler-based count is not enough, the fillers under-declare their forksd0-g0-v0(200 files), so this can be automated. It matters most for the 9 functions whose parameters change by fork (test_ecrecover,test_create_collision,test_staticcall), where per-test counting overstates coveragejson-loader,validate-blocks, after the Tangerine Whistle / Spurious Dragon fix)json_loaderwith coverage, fork by fork, and list the spec lines only the legacy fixtures reach.json_loaderstill reads the legacy format, and leolara already replayed the Constantinople snapshot this way.github/workflows/coverage.yamlin the archived execution-spec-tests repo): fill BASE (the legacy sources named in the new tests'ported_from) and PATCH (the new tests), run both through the coverage-built client, diff the lcov and flag lost lines.coverage_missed_reasonrecords accepted losses. Also run it once in batches over the existing ports. It catches the Invalidtoin returndatacopy_after_failing_delegatecallFiller ethereum/tests#1417 kind of portevm statetest/evm blocktestand nethermindNethermind.Test.Runner--stateTest/--blockTest/--engineTest, noconsume direct, Spencer 2026-12-01, then covdata to lcov). One command, native builds, no manual Docker:just client-coverage <client> <before-fixtures> <after-fixtures>, per fork, ending in an lcov diff report of the lines only "before" reaches. Only geth (go build -cover ./cmd/evm, GOCOVERDIR) and nethermind (Nethermind.Test.Runnerwith .NET coverage) for now (Spencer 2026-12-01). Ship an agent skill (SKILL.md) with it in its own repo so any agent can run it and read the report. It consumes EELS fixtures but does not live in EELS. (eth-proto-cov's own scripts are stale: they point at the archived EEST repo, andexecution-spec-tests-all.shpasses--inpcdut=develop@latest, a typo that breaks the run, so do not depend on them.) The first client builds need your goevmwithgo build -cover(GOCOVERDIR) and nethermind'sNethermind.Test.Runnerwith .NET coverage. Run the legacy fixtures ("before") and the EELS fills ("after") throughevm statetest/evm blocktestand--stateTest/--blockTest/--engineTest, fork by fork, and diff the covered lines. Lines only "before" reaches mark a port or a written waiver. Engine runs only exist on the EELS side (legacy has no engine fixtures), so they add coverage but do not count for parity. Needs your go for the client buildsported_fromand thed0-g0-v0style ids), hash a normalized execution trace (opcode, depth and per-frame result, ignoring addresses and gas amounts that changed by design) and compare. A mismatch means the port changed behaviour. This would have caught the Invalidtoin returndatacopy_after_failing_delegatecallFiller ethereum/tests#1417 port, whose EELS trace is empty while the legacy one runs the DELEGATECALL path. EELS's own tracer can do this with no client build (json_loader --evm_tracereads both the legacy and the EELS formats), and gethevm statetest --jsonor nethermind--tracecan cross-checkcoverage_missed_reasonhas no workflow in this repo any more8. Consumers
sim-ethereum-consensus,-legacyand-legacy-cancun: retire or move to EELS consumeMakefileef-testsscripts/run-tests.shlegacy32,615 andlegacy-cancun111,983circle.yml, ethereum/tests plus LegacyTests/Cancun blockchain testsscripts/legacyEthereumTests.mjsdocs/t8ntool-ref.rst, served on ethereum-tests.readthedocs.io) into EELS docs, and put a deprecation banner on that site9. Archive mechanics
tests@v21.0.0(Glamsterdam Testnet) ethereum/execution-specs#3217), fix: correct pre-Spurious Dragon state roots for invalid transaction tests ethereum/legacytests#16, remove the random state test usingBLOCKHASHethereum/legacytests#15, compress tests into archives ethereum/legacytests#12ansible/setup anddocs/need nothing beyond the archive10. EELS cleanup after archive
json_loaderleftovers: the bc* names inexceptional_test_patterns.py, the bcExpectSection skip, the legacy VMTests loaderreleases.py, comment inconsume.py) and thegeneratedTestHashcompatibility (gen_index.py,hasher.py)forks/helpers.py,client_clis/clis/nethermind.py,.agents/skills/enhance-ported-test/SKILL.md,whitelist.txt(keep theported_frommarker help text inexecute_fill.py)docs/running_tests/releases.md,docs/specs/writing_specs.md:213(stalejson_loaderpath), the two tutorial links to ethereum-tests.readthedocs.io,tests/ported_static/README.md(its regeneration tooling is gone)ethereum/testsandethereum/legacytestsethereum/execution-specs#2556, First Class Ported Static Tests Tracker ethereum/execution-specs#3272 and Audit pre-Cancun GeneralStateTest coverage in execution-specs ethereum/execution-specs#3404. Optional, First Class Ported Static Tests Tracker ethereum/execution-specs#3272's endgame: dissolveported_staticintotests/<fork>/spencer-tb commentedon Dec 1, 2026
Part 3 of 3: the full phased plan
1. Goal and definition of done
EELS is the consensus tests. Both repos get archived once all of these hold:
ported_from, following merges (a merged test counts for every legacy test it cites), except the waiver list in section 3validate-blocksreplays every pre-merge EELS fixture through EELS, Tangerine Whistle and Spurious Dragon includedported_fromprovenance depend on them)Stress and performance tests are exempt from variant parity (section 3).
2. Where the legacy coverage lives
ethereum/testsdevelop (frozen 2025-06-04, last release v17.2): fillers for 361 blockchain, 212 transaction, 20 InvalidRLP, 17 difficulty and 7 EOF tests, filled for Cancun and later. The state tests moved to EELS.ethereum/legacytestsConstantinople snapshot: filled for Frontier to ConstantinopleFix, 2,394 state tests, 609 VMTests, 301 blockchain tests plus 10,604 blockchain copies of the state tests.ethereum/legacytestsCancun snapshot: filled for Istanbul to Cancun, 2,742 state tests, 423 blockchain tests including 21 transition tests.log3_MaxTopicdeclares Frontier, its fixture covers 7 forks). Always use the filled fixtures.3. Waivers (frozen in the archive, not ported)
trietestnextprev(trie iteration order).Merge+1153and similar).tests/benchmark, which already covers blake2f, sha256, modexp, keccak, memory and call context. stAttackTest (2) is ported and can stay. stMemoryStressTest stays consensus.4. Phase 0: set up
4.1 Helper repo (outside EELS, only to help the process)
Local first, pushed only on Spencer's go. Contents:
scan/releases.py: everyethereum/teststag andethereum/legacytestscommit, each tag's LegacyTests submodule pin and the v17 fixture tarballs, read into (test, fork) pairs from the filled JSON (statepostkeys, blockchainnetwork, transactionresult)scan/history.py: every fixture deletion or rename in git history, each classified by the deleting commit (renamed, consolidated, invalid, moved to another format, feature dropped, pre-launch, unknown)parity/recount.py: legacy fork sets from the filled fixtures, EELS coverage fromfill --collect-only --fork F tests/per fork (so param-level markers count), joined throughported_fromwith alias handling, down to variant ids (d0-g0-v0). Output: one row per legacy (test, fork, variant) with its EELS case or its gapcoverage/: build geth'sevmwithgo build -cover, build nethermind'sNethermind.Test.Runnerwith .NET coverage, run the client runners directly (gethevm statetest/evm blocktest, nethermind--stateTest/--blockTest/--engineTest, noconsume direct) over a "before" (legacy) and an "after" (EELS) fixture set, per fork, convert to lcov, diff. Output: client files, functions and lines only "before" reachesSKILL.md: how any agent runs each tool, what it reads and writes, how to read the reports, and the safety rules (one heavy job at a time, no parallel fills, RAM cap)4.2 Tracking
Done when an agent can run every tool from
SKILL.mdalone and reproduce the baseline numbers.5. Phase 1: unblockers (in parallel, before the waves)
json_loaderskips every Tangerine Whistle and Spurious Dragon fixture. It keys forks asEIP150/EIP158(tests/json_loader/hardfork.py:19-31), our fixtures sayTangerineWhistle/SpuriousDragon, andspec_fork_name(load_blockchain_tests.py:49-63) does not map them. Reproduced: one fill oftest_signextend.pyreplays 4/4 at Homestead and Byzantium and "no tests ran" at both forks. Fix the mapping, then re-run that checkvalid_fromdrops earlier forks for every param. The floor waves rely on param-level floorsTransactionTest.generatedrops the t8n (del t8n) and records the exception the author wrote, andjson_loaderhas no transaction loader. Continue feat(test-specs): check transaction fixtures against the reference implementation ethereum/execution-specs#3916 (earlier attempts feat(spec-specs): expose state-independent transaction validation ethereum/execution-specs#3492, feat(test-fixtures): resolve implicit transaction test gas limits ethereum/execution-specs#3493, feat(spec-tests): validate transaction test fixtures against EELS ethereum/execution-specs#3494 were closed)ported_fromcitations the recount found:test_ecmul.pycites 14 stZeroKnowledge2 tests as stZeroKnowledge, 9 citations misspell legacy names (InternalCallvsInternlCall,SuccessvsSucces), 1 citesecmul_1-2_616_21000_96which does not exist, and some URLs are malformed (legacytests/tree/master/Cancun/GeneralStateTests/...Filler.json)toin returndatacopy_after_failing_delegatecallFiller ethereum/tests#1417:test_returndatacopy_after_failing_delegatecallsends its transaction to an account with no code, so the DELEGATECALL and RETURNDATACOPY path never runs. Point it at the contractarith), Remove random state test withBLOCKHASHethereum/tests#1406 with remove the random state test usingBLOCKHASHethereum/legacytests#15 (random test using BLOCKHASH): check our portsGasLimitHigherThan2p63m1test underbcInvalidHeaderTestthrows no exception ethereum/tests#1218 (GasLimitHigherThan2p63m1raises no exception): fix when bcInvalidHeaderTest is ported6. Phase 2: state-test fork floors (critical path, S)
Today 1,929 of the cited legacy tests are collected only at Cancun.
Targets (from the recount):
Per-file recipe (the floor-wave workflow):
valid_fromto the target, useprotected=fork.supports_protected_txs()for pre-EIP-155 forks--untilthe latest fork)post_state_resolution)coverage_missed_reason)The 109 tests capped at
valid_until("Prague")(only port of their source, at least 76 send more gas than Osaka's 16,777,216 cap from EIP-7825):7. Phase 3: unported state tests (S)
513 legacy state tests are cited by no EELS test (536 by exact name).
ethereum/testsandethereum/legacytestsethereum/execution-specs#2556: ecmul scalars 616, 1456, 5616, 5617, 9935 on the generator point, one 64-byte input, 2 ecadd vectorsmodexpTests, but nothing covers the out-of-gas boundary under EIP-2565 from Berlin to Prague (feat(tests): cover ModExp gas before EIP-2565 ethereum/execution-specs#3237 covers before EIP-2565, EIP-7883 tests start at Osaka)test_scenarios), stZeroKnowledge 71 and stZeroKnowledge2 66, per-vector stPreCompiledContracts 91, bcRandomBlockhashTest 105, the 18 pre-Parissstore_combinationsvariants intotests/istanbul/eip2200_net_gas_metering/test_sstore_combinations.py*OOG(folded into stMemoryStressTest),BLOCK_WrongCharAtRLP_0to_19, stEIP3607, RevertPrecompiledTouch CC and DC, badOpcode, lowIntrinsic. Confirm the target covers the same cases and forks_CALLCODE), RevertOpcodeFail, invalidTx, refund_multiple_internal_call_plus_suicide, callstatelessToReturn1, randomBlockTest, wallet2outOf3txs3, the vmInputLimits random cases8. Phase 4: framework (D)
Block.ommersexists but built blocks hardcodeommers=[](specs/blockchain.py:789) and the t8n call passes none. Wire them into the header, body and rewards. Needed for the 61 bcUncle tests and for the post-merge "uncles must be empty" checksDAOFork, HomesteadToDaoAt5Block, for the malformed-block testsNot doing: total difficulty, fork choice, Ethash, a difficulty fixture format.
9. Phase 5: blockchain, transaction and RLP (S and D)
RLPTests/invalidRLPTest.json. 14 match existing cases intests/frontier/validation/test_transaction_rlp.py, 12 need new parameters (long-form length for a short payload x4, 8-byte length overflow x2, truncation inside a field x4, single bytes0x00and0x7F). Also embed each as an invalid transaction in a block (thetest_blob_txs_full.pypattern) sovalidate-blockschecks them in EELSfill-then-consumeworkflow ethereum/execution-specs#2369 deleted only because they clonedethereum/tests(test_rlp.py,test_trie.py,test_transaction.py). Genesis and basic vectors go into the existingtests/json_loader/test_genesis.pyand codec tests10. Phase 6: verification
validate-blocksreplays every pre-merge fixture11. Phase 7: consumers and archive
consensussimulator clonesethereum/testswith submodules and runsconsensus,legacyandlegacy-cancun, scheduled by hive-tests (sim-ethereum-consensus,-legacy,-legacy-cancun). Move them to the EELS consume simulatorstests/testdatasubmodule, reads BasicTests, BlockchainTests, EIPTests, GeneralStateTests, LegacyTests, RLPTests, TransactionTestsMakefile, revm:scripts/run-tests.sh, erigon: hivelegacyandlegacy-cancuncircle.yml(ethereum/tests plus LegacyTests/Cancun blockchain tests)scripts/legacyEthereumTests.mjs, nimbus: KeyStoreTests vectors via nim-ethethereum/testsdocs/t8ntool-ref.rst) into the EELS docs, fix the two EELS tutorial links to the old docs site, banner on that sitetests@v21.0.0(Glamsterdam Testnet) ethereum/execution-specs#3217), fix: correct pre-Spurious Dragon state roots for invalid transaction tests ethereum/legacytests#16, remove the random state test usingBLOCKHASHethereum/legacytests#15, compress tests into archives ethereum/legacytests#12, the 4 openethereum/testsPRs and 24 issues (move real bugs and coverage requests to EELS: Tests for very large shifts seem to be missing. ethereum/tests#1495, re-entrancy oog tests ethereum/tests#1113, invalid structure RLPs test ethereum/tests#899, invalid blocks with messed up parameters ethereum/tests#900, Common tests for ABI encoding ethereum/tests#691)json_loaderleftovers (bc* names inexceptional_test_patterns.py, the bcExpectSection skip, the legacy VMTests loader), the old repos as consume release sources (releases.py),generatedTestHashcompatibility (gen_index.py,hasher.py), doc references,tests/ported_static/README.md, close Meta: Archiveethereum/testsandethereum/legacytestsethereum/execution-specs#2556, First Class Ported Static Tests Tracker ethereum/execution-specs#3272, Audit pre-Cancun GeneralStateTest coverage in execution-specs ethereum/execution-specs#340412. Order and dependencies
13. Risks and lessons
InternlCall, hyphen vs underscore suite names), so the recount resolves aliases and reports exact-name numbers too.