Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Add pectra-devnet-4 tests (All Spec tests Disabled) #12363

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions tests/exec_spec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ func TestExecutionSpec(t *testing.T) {

dir := filepath.Join(".", "execution-spec-tests")

// TODO(yperbasis) make it work
bt.skipLoad(`^prague/eip2935_historical_block_hashes_from_state/block_hashes/block_hashes_history.json`)
bt.skipLoad(`^prague/eip7251_consolidations/`)
bt.skipLoad(`^prague/eip7685_general_purpose_el_requests/`)
bt.skipLoad(`^prague/eip7002_el_triggerable_withdrawals/`)
bt.skipLoad(`^`)

// // TODO(yperbasis) make it work
// bt.skipLoad(`^prague/eip2935_historical_block_hashes_from_state/block_hashes/block_hashes_history.json`)
// bt.skipLoad(`^prague/eip7251_consolidations/`)
// bt.skipLoad(`^prague/eip7685_general_purpose_el_requests/`)
// bt.skipLoad(`^prague/eip7002_el_triggerable_withdrawals/`)
checkStateRoot := true

bt.walk(t, dir, func(t *testing.T, name string, test *BlockTest) {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,298 changes: 1,298 additions & 0 deletions tests/execution-spec-tests/cancun/eip1153_tstore/tload_calls/tload_calls.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

516 changes: 252 additions & 264 deletions tests/execution-spec-tests/cancun/eip1153_tstore/tstorage/gas_usage.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"uncleHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"coinbase": "0x0000000000000000000000000000000000000000",
"stateRoot": "0x5f5865c6382782f6bbb9789e0dbc0bc76f47cf6d54065a91b38a516f78260b4d",
"stateRoot": "0x38e939fe284779b30e049284bb87204a7b23972a683be2820136dc73a055e9b1",
"transactionsTrie": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"receiptTrie": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
Expand All @@ -19,25 +19,25 @@
"nonce": "0x0000000000000000",
"baseFeePerGas": "0x07",
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"hash": "0x834aed6be4f5e4dc567f1dfb6a847c86e12f8e8c47c3d896949e6d8ca1dfdbed"
"hash": "0x22a371582972d7055d8662fdff29cd7b8699c62d32803fa679936fcf7ced8168"
},
"pre": {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
"nonce": "0x00",
"0x0000000000000000000000000000000000001000": {
"nonce": "0x01",
"balance": "0x010000000000",
"code": "0x",
"code": "0x366000602037602060003660206000720f3df6d732807ef1319fb7b8bb8522d0beac02620186a0f16000556000516001553d6002553d600060003e600051600355",
"storage": {}
},
"0x0000000000000000000000000000000000000100": {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
"nonce": "0x00",
"balance": "0x010000000000",
"code": "0x366000602037602060003660206000720f3df6d732807ef1319fb7b8bb8522d0beac02620186a0f16000556000516001553d6002553d600060003e600051600355",
"balance": "0x3635c9adc5dea00000",
"code": "0x",
"storage": {}
}
},
"postState": {
"0x0000000000000000000000000000000000000100": {
"nonce": "0x00",
"0x0000000000000000000000000000000000001000": {
"nonce": "0x01",
"balance": "0x010000000000",
"code": "0x366000602037602060003660206000720f3df6d732807ef1319fb7b8bb8522d0beac02620186a0f16000556000516001553d6002553d600060003e600051600355",
"storage": {
Expand All @@ -52,7 +52,7 @@
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
"nonce": "0x01",
"balance": "0xfffffa63a9",
"balance": "0x3635c9adc5de9a63a9",
"code": "0x",
"storage": {}
},
Expand All @@ -63,15 +63,16 @@
"storage": {}
}
},
"genesisRLP": "0xf9021df90217a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a05f5865c6382782f6bbb9789e0dbc0bc76f47cf6d54065a91b38a516f78260b4da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808088016345785d8a0000808000a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421c0c0c0",
"lastblockhash": "0x69eb139342e205104a7db0fc28a5a4cc7afc4dc9026c927128fe65f78ab01c89",
"genesisRLP": "0xf9021df90217a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a038e939fe284779b30e049284bb87204a7b23972a683be2820136dc73a055e9b1a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808088016345785d8a0000808000a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421c0c0c0",
"blocks": [
{
"blockHeader": {
"parentHash": "0x834aed6be4f5e4dc567f1dfb6a847c86e12f8e8c47c3d896949e6d8ca1dfdbed",
"parentHash": "0x22a371582972d7055d8662fdff29cd7b8699c62d32803fa679936fcf7ced8168",
"uncleHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"coinbase": "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"stateRoot": "0x0aa03d9322e2f94ac5c91c4fd18aa0d6a25dd2023876f7eaa8f50d22be2806d4",
"transactionsTrie": "0x64491dfba31aa11099c81e1c7c95f0818b4f927d4b3552143a25ea44512fe125",
"stateRoot": "0xbdf48e0566a3b770f2808fa4286cda87063eadc399cf3c4060a41c8a1fe0ce77",
"transactionsTrie": "0x1124cb5edf02a0f283d7be8fa1a2906916fadfb7991412d233399433624c4910",
"receiptTrie": "0x037c6a35920271e48744434ea58c2e865d703f151d7bfea7a823cfc9b4232bbb",
"bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"difficulty": "0x00",
Expand All @@ -87,7 +88,7 @@
"blobGasUsed": "0x00",
"excessBlobGas": "0x00",
"parentBeaconBlockRoot": "0x6c31fc15422ebad28aaf9089c306702f67540b53c7eea8b7d2941044b027100f",
"hash": "0x1b049249237460237bd6f82840ca399db7f60f9f276c9270db11f6d2ee67fa19"
"hash": "0x69eb139342e205104a7db0fc28a5a4cc7afc4dc9026c927128fe65f78ab01c89"
},
"transactions": [
{
Expand All @@ -97,13 +98,13 @@
"maxPriorityFeePerGas": "0x00",
"maxFeePerGas": "0x07",
"gasLimit": "0x0f4240",
"to": "0x0000000000000000000000000000000000000100",
"to": "0x0000000000000000000000000000000000001000",
"value": "0x00",
"data": "0x0000000000000000000000000000000000000000000000000000000000003a98",
"accessList": [],
"v": "0x01",
"r": "0xfaa933f2812dcf366269cdad3b8bdbf6d293fe5dcd0d3313089d619e99b77c2e",
"s": "0x541ff2b494d5a6856ee685c0647a47b60a6eb7823dd0b72c74123ea33f0e4e41",
"v": "0x00",
"r": "0x35a9aa16fe32dff96fddf1494ea4ad97520df717a9dc57949a3adffe8c2bbed6",
"s": "0x163da6b9f4800e493c5b7ed7d81dcc93fdd7f656fa5e183eab7a41427a01f45e",
"sender": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
}
],
Expand All @@ -122,18 +123,17 @@
"amount": "0x01"
}
],
"rlp": "0xf902fff9023ea0834aed6be4f5e4dc567f1dfb6a847c86e12f8e8c47c3d896949e6d8ca1dfdbeda01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa00aa03d9322e2f94ac5c91c4fd18aa0d6a25dd2023876f7eaa8f50d22be2806d4a064491dfba31aa11099c81e1c7c95f0818b4f927d4b3552143a25ea44512fe125a0037c6a35920271e48744434ea58c2e865d703f151d7bfea7a823cfc9b4232bbbb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800188016345785d8a000082cd31823a9880a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a02aef4d3e6939af0b4bf4c0e7572a214eb7db9ba52937e1e82ad6c64b52d2e8bb8080a06c31fc15422ebad28aaf9089c306702f67540b53c7eea8b7d2941044b027100ff888b88602f88301808007830f424094000000000000000000000000000000000000010080a00000000000000000000000000000000000000000000000000000000000003a98c001a0faa933f2812dcf366269cdad3b8bdbf6d293fe5dcd0d3313089d619e99b77c2ea0541ff2b494d5a6856ee685c0647a47b60a6eb7823dd0b72c74123ea33f0e4e41c0f2d8808094000f3df6d732807ef1319fb7b8bb8522d0beac0201d8010194fffffffffffffffffffffffffffffffffffffffe01",
"rlp": "0xf902fff9023ea022a371582972d7055d8662fdff29cd7b8699c62d32803fa679936fcf7ced8168a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0bdf48e0566a3b770f2808fa4286cda87063eadc399cf3c4060a41c8a1fe0ce77a01124cb5edf02a0f283d7be8fa1a2906916fadfb7991412d233399433624c4910a0037c6a35920271e48744434ea58c2e865d703f151d7bfea7a823cfc9b4232bbbb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800188016345785d8a000082cd31823a9880a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a02aef4d3e6939af0b4bf4c0e7572a214eb7db9ba52937e1e82ad6c64b52d2e8bb8080a06c31fc15422ebad28aaf9089c306702f67540b53c7eea8b7d2941044b027100ff888b88602f88301808007830f424094000000000000000000000000000000000000100080a00000000000000000000000000000000000000000000000000000000000003a98c080a035a9aa16fe32dff96fddf1494ea4ad97520df717a9dc57949a3adffe8c2bbed6a0163da6b9f4800e493c5b7ed7d81dcc93fdd7f656fa5e183eab7a41427a01f45ec0f2d8808094000f3df6d732807ef1319fb7b8bb8522d0beac0201d8010194fffffffffffffffffffffffffffffffffffffffe01",
"blocknumber": "1"
}
],
"lastblockhash": "0x1b049249237460237bd6f82840ca399db7f60f9f276c9270db11f6d2ee67fa19",
"sealEngine": "NoProof",
"_info": {
"hash": "0x9122b9d94212f83a31061998d8cc2c856453bb59bce460dbd5fdb0f128c6f307",
"hash": "0x7319bd76779fbcb8fe324627effcfb96d0be6a6d83bcc74b5e5a76311e3c2ab8",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "evm version 1.14.6-unstable-7e5dd44a-20240705",
"filling-transition-tool": "evm version 1.14.12-unstable-e100dcf1-20241017",
"description": "Test function documentation:\n\n Tests the fork transition to cancun in the case where the beacon root pre-deploy was not\n deployed in time for the fork.",
"url": "https://github.com/ethereum/execution-spec-tests/blob/devnet-1@v1.3.0/tests/cancun/eip4788_beacon_root/test_beacon_root_contract.py#L581",
"url": "https://github.com/ethereum/execution-spec-tests/blob/pectra-devnet-4@v1.0.1/tests/cancun/eip4788_beacon_root/test_beacon_root_contract.py#L578",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4788.md",
"reference-spec-version": "e7608fe8ac8a60934ca874f5aab7d5c1f4ff7782"
}
Expand Down
Loading
Loading