Skip to content

Tests update 12.4 Preparations to fill Cancun

Compare
Choose a tag to compare
@winsvega winsvega released this 19 Sep 08:12
· 140 commits to develop since this release

The recent tests changes:

Add Cancun blob fields and transactions to json tests
Update pyspec tests

Announcement

New docker instructions for all t8n supported clients: https://github.com/ethereum/retesteth/tree/develop#docker-instructions
The test process diagram: http://tinyurl.com/2ctak8yn
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/v12.3

Test format

Tests Fillers

new cancun fields in env section

    parentExcessBlobGas: 0x1000
    parentBlobGasUsed: 0x2000
    currentBeaconRoot: 0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8

withdrawals root explicitly exported in state tests

    "currentWithdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",

new lllc instruction

             [[0]] (BLOBHASH 0) 

new transaction type (blob transaction)

  transaction:
    data:
        - data: :label declaredKeyWrite :raw 0x00
          accessList:
          - address: 0x095e7baea6a6c7c4c2dfeb977efac326af552d87
            storageKeys:
            - 0x00
            - 0x01

    maxFeePerGas: '0x12A05F200'
    maxPriorityFeePerGas: '2'
    gasLimit:
    - '4000000'
    nonce: '0'
    to: 095e7baea6a6c7c4c2dfeb977efac326af552d87
    value:
    - '100000'
    secretKey: "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
    maxFeePerBlobGas: '10'
    blobVersionedHashes:
        - "0x01a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"

GeneralStateTests/BlockchainTests Filled

new block header fields

                    "blobGasUsed" : "0x00",
                    "excessBlobGas" : "0x00",
                    "parentBeaconBlockRoot" : "0x01a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"

Test Regeneration

Update all:

EIPTests/EOFTests

  • Pyspecs Cancun tests
    PR #1282
    PR #1288

  • Refill EIPTests with new blob names
    PR #1224

  • Update tests according to Mega-EOF spec
    PR #1238
    PR #1285

Cosmetic
PR #1247
PR #1248
PR #1281
PR #1289

Upcoming changes:

Fill all tests with cancun rules
Support pyspec .py test filling with different clients using retesteth
Nimbus --vmtrace support