Skip to content

Commit

Permalink
pyspec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Apr 12, 2023
1 parent 611c88a commit 04f338a
Show file tree
Hide file tree
Showing 33 changed files with 28,695 additions and 0 deletions.
358 changes: 358 additions & 0 deletions BlockchainTests/Pyspecs/eips/initcode_limit_contract_creating_tx.json

Large diffs are not rendered by default.

2,924 changes: 2,924 additions & 0 deletions BlockchainTests/Pyspecs/eips/initcode_limit_contract_creating_tx_gas_usage.json

Large diffs are not rendered by default.

1,414 changes: 1,414 additions & 0 deletions BlockchainTests/Pyspecs/eips/initcode_limit_create2_opcode.json

Large diffs are not rendered by default.

1,414 changes: 1,414 additions & 0 deletions BlockchainTests/Pyspecs/eips/initcode_limit_create_opcode.json

Large diffs are not rendered by default.

858 changes: 858 additions & 0 deletions BlockchainTests/Pyspecs/eips/push0.json

Large diffs are not rendered by default.

706 changes: 706 additions & 0 deletions BlockchainTests/Pyspecs/eips/warm_coinbase_call_out_of_gas.json

Large diffs are not rendered by default.

962 changes: 962 additions & 0 deletions BlockchainTests/Pyspecs/eips/warm_coinbase_gas_usage.json

Large diffs are not rendered by default.

242 changes: 242 additions & 0 deletions BlockchainTests/Pyspecs/example/access_list.json

Large diffs are not rendered by default.

460 changes: 460 additions & 0 deletions BlockchainTests/Pyspecs/example/yul.json

Large diffs are not rendered by default.

572 changes: 572 additions & 0 deletions BlockchainTests/Pyspecs/vm/chain_id.json

Large diffs are not rendered by default.

3,652 changes: 3,652 additions & 0 deletions BlockchainTests/Pyspecs/vm/dup.json

Large diffs are not rendered by default.

183 changes: 183 additions & 0 deletions BlockchainTests/Pyspecs/withdrawals/balance_within_block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"000/shanghai" : {
"_info" : {
"comment" : "",
"filling-block-build-tool" : "evm version 1.11.6-unstable-4a9fa314-20230408",
"filling-rpc-server" : "evm version 1.11.6-unstable-4a9fa314-20230408",
"filling-tool-version" : "retesteth-0.3.1-shanghai+commit.9e1f1208.Linux.g++",
"filling-transition-tool" : "evm version 1.11.6-unstable-4a9fa314-20230408",
"generatedTestHash" : "601668ade9134b483fff7bbbddd9ecb85346d14c9a674a10629d3bcfd8796af5",
"lllcversion" : "Version: 0.5.14-develop.2022.7.30+commit.a096d7a9.Linux.g++",
"reference-spec" : "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4895.md",
"reference-spec-version" : "0966bbc3ff92127c0a729ce5455bbc35fd2075b8",
"solidity" : "Version: 0.8.17+commit.8df45f5f.Linux.g++",
"source" : "/home/wins/Ethereum/tests/src/BlockchainTestsFiller/Pyspecs/withdrawals/withdrawals.py",
"sourceHash" : "9c79b84ea7016fc9e8d167d5107193c01826ead5240c97587835496c342238bd"
},
"blocks" : [
{
"blockHeader" : {
"baseFeePerGas" : "0x07",
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x00",
"extraData" : "0x",
"gasLimit" : "0x016345785d8a0000",
"gasUsed" : "0xb31d",
"hash" : "0xea9fa9facb86c1e78d533299e9980b3a5ba7e6265a272af4f1297db05b9e2086",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x87e00d457f7bd055d5c3a68af57bf6067b141249173ffc98150961eab85f17ca",
"receiptTrie" : "0x7ec45ed62f5d7dbe69e868aeb4274fdfa7d938914616f9f751958af4fa4820bd",
"stateRoot" : "0x1b9f17b288bd640a88acc990dad541125606cf99b0a4eb26f134d6227470e043",
"timestamp" : "0x0c",
"transactionsTrie" : "0xc571cf73fd8fef916df38a63823699e208de1b224e5bdaed87a4c73f72a07f7c",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"withdrawalsRoot" : "0x7988f56854c1381cb48871662f4ebd920da34bbfc368432cb046d8dde5787853"
},
"blocknumber" : "1",
"rlp" : "0xf902bbf90219a087e00d457f7bd055d5c3a68af57bf6067b141249173ffc98150961eab85f17caa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa01b9f17b288bd640a88acc990dad541125606cf99b0a4eb26f134d6227470e043a0c571cf73fd8fef916df38a63823699e208de1b224e5bdaed87a4c73f72a07f7ca07ec45ed62f5d7dbe69e868aeb4274fdfa7d938914616f9f751958af4fa4820bdb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800188016345785d8a000082b31d0c80a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a07988f56854c1381cb48871662f4ebd920da34bbfc368432cb046d8dde5787853f882f880800a830186a094000000000000000000000000000000000000010080a0000000000000000000000000000000000000000000000000000000000000020026a0fd75940662272e5daac655a822b10f101866916a2975c3821111ad4ab481d48ba067a11d0fcd31933ad4b62b4d6fd4f1540f93406d501e41b82ff59223303f60c5c0d9d8808094000000000000000000000000000000000000020001",
"transactions" : [
{
"data" : "0x0000000000000000000000000000000000000000000000000000000000000200",
"gasLimit" : "0x0186a0",
"gasPrice" : "0x0a",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0x0000000000000000000000000000000000000100",
"value" : "0x00"
}
],
"uncleHeaders" : [
],
"withdrawals" : [
{
"address" : "0x0000000000000000000000000000000000000200",
"amount" : "0x01",
"index" : "0x00",
"validatorIndex" : "0x00"
}
]
},
{
"blockHeader" : {
"baseFeePerGas" : "0x07",
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x00",
"extraData" : "0x",
"gasLimit" : "0x016345785d8a0000",
"gasUsed" : "0xb31d",
"hash" : "0x01742b41f72ee9d8d1401196e9faf86eafa382c040bea3bd73413cf6186521b1",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x02",
"parentHash" : "0xea9fa9facb86c1e78d533299e9980b3a5ba7e6265a272af4f1297db05b9e2086",
"receiptTrie" : "0x7ec45ed62f5d7dbe69e868aeb4274fdfa7d938914616f9f751958af4fa4820bd",
"stateRoot" : "0x05c2dbf2b50cfeeb01d20aa6ecb1904b5688ed103857a2092ef725c1596123a4",
"timestamp" : "0x18",
"transactionsTrie" : "0x3d3f126d33e4ec0f095adb98fa15709862adc5e24edd8cb674fb0fb9a93112fa",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"blocknumber" : "2",
"rlp" : "0xf902a2f90219a0ea9fa9facb86c1e78d533299e9980b3a5ba7e6265a272af4f1297db05b9e2086a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa005c2dbf2b50cfeeb01d20aa6ecb1904b5688ed103857a2092ef725c1596123a4a03d3f126d33e4ec0f095adb98fa15709862adc5e24edd8cb674fb0fb9a93112faa07ec45ed62f5d7dbe69e868aeb4274fdfa7d938914616f9f751958af4fa4820bdb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800288016345785d8a000082b31d1880a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421f882f880010a830186a094000000000000000000000000000000000000010080a0000000000000000000000000000000000000000000000000000000000000020026a09476722b3ad7ab1bdd721e4e0d5c3e059998bf9fae07fb48fd5c7612ca69a97aa018f0bc934e5fb2b21602c25a63391cc23069ecbe7af2c1c2cfe4bef02d719f6cc0c0",
"transactions" : [
{
"data" : "0x0000000000000000000000000000000000000000000000000000000000000200",
"gasLimit" : "0x0186a0",
"gasPrice" : "0x0a",
"nonce" : "0x01",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0x0000000000000000000000000000000000000100",
"value" : "0x00"
}
],
"uncleHeaders" : [
],
"withdrawals" : [
]
}
],
"genesisBlockHeader" : {
"baseFeePerGas" : "0x07",
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x0000000000000000000000000000000000000000",
"difficulty" : "0x00",
"extraData" : "0x00",
"gasLimit" : "0x016345785d8a0000",
"gasUsed" : "0x00",
"hash" : "0x87e00d457f7bd055d5c3a68af57bf6067b141249173ffc98150961eab85f17ca",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xc664715dc24ea5baf9f3bc749c2b18705e999d129d3fbee8350eba5ac454a459",
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"genesisRLP" : "0xf9021df90217a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0c664715dc24ea5baf9f3bc749c2b18705e999d129d3fbee8350eba5ac454a459a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808088016345785d8a0000808000a0000000000000000000000000000000000000000000000000000000000000000088000000000000000007a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421c0c0c0",
"lastblockhash" : "0x01742b41f72ee9d8d1401196e9faf86eafa382c040bea3bd73413cf6186521b1",
"network" : "Shanghai",
"postState" : {
"0x0000000000000000000000000000000000000100" : {
"balance" : "0x00",
"code" : "0x6000358031435550",
"nonce" : "0x00",
"storage" : {
"0x01" : "0x3b9aca00",
"0x02" : "0x77359400"
}
},
"0x0000000000000000000000000000000000000200" : {
"balance" : "0x77359400",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "0x0432ae",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3635c9adc5de9201bc",
"code" : "0x",
"nonce" : "0x02",
"storage" : {
}
}
},
"pre" : {
"0x0000000000000000000000000000000000000100" : {
"balance" : "0x00",
"code" : "0x6000358031435550",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000200" : {
"balance" : "0x3b9aca00",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3635c9adc5dea00000",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"sealEngine" : "NoProof"
}
}
Loading

0 comments on commit 04f338a

Please sign in to comment.