Tests update 13.1 Cancun tests
The recent tests changes:
Rename Merge to Paris (note: Pyspecs tests still have Merge
keyword)
Remove empty accounts from post Paris
Update cancun rules, state test format, update pyspecs vectors
Update filled state test format
Announcement
New docker instructions for all t8n supported clients: https://github.com/ethereum/retesteth/tree/develop#docker-instructions
The test process diagram: https://tinyurl.com/y525ezs7
Reminder of a brand new web interface for test debugging: http://retesteth.ethdevops.io/web/
Tests stats on latest builds: http://retesteth.ethdevops.io/
(implement test RPC support or t8ntool protocol to apply for the page. https://ethereum-tests.readthedocs.io/en/latest/t8ntool-ref.html)
Previous release link: https://github.com/ethereum/tests/releases/tag/v13
Test format
Tests Fillers
Pyspec tests folder moved from /src/BlockchainTestsFiller/Pyspecs
to /src/GeneralStateTestsFiller/Pyspecs
and the generated tests moved accordingly. as .py tests now could have state and blockchain tests.
--filltests flag will generate all state tests out of .py files
--filltests --fillchain flag will generate all blockchain tests out of .py files.
GeneralStateTests/BlockchainTests Filled
rename forkname in all of the tests: "Merge" => "Paris"
empty accounts (zero balance, no code, zero nonce, with or without storage) in pre state are not allowed post Paris.
In state tests remove blockchain related fields:
"currentBeaconRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"currentWithdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",`
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- currentBeaconRoot although not set, the value could still be found in
pre
state in beacon root contract.
(ethereum/execution-spec-tests#413)
In blockchain tests if invalid block rlp is unreadable, or supposed to fail during rlp parsing, rlp_decoded field no longer provided
Test Regeneration
Update all:
-
All tests regeneration with Cancun rules
PR #1332
PR #1333 (PYSPEC UPDATE) -
Adapt tests and remove empty accounts from state/bc tests post Paris/Merge
PR #1335
PR #1336 -
Documentation
PR #1323
TESTS
EIPTests/EOFTests
- Update EOF tests to not contain unreachable code sections
PR #1319
Cosmetic
- ---
PR ---
Upcoming changes:
Convert .json .yml yo .py
Pyspecs filling support