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

Update tests according to Mega-EOF spec #1238

Merged
merged 16 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from 15 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
1,924 changes: 1,014 additions & 910 deletions EIPTests/BlockchainTests/StateTests/stEOF/ori/CreateEOF1.json

Large diffs are not rendered by default.

3,503 changes: 1,859 additions & 1,644 deletions EIPTests/BlockchainTests/StateTests/stEOF/ori/EOF1ValidInvalid.json

Large diffs are not rendered by default.

1,414 changes: 971 additions & 443 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CREATE2_EOF1.json

Large diffs are not rendered by default.

28,660 changes: 4,508 additions & 24,152 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CREATE2_EOF1Invalid.json

Large diffs are not rendered by default.

6,468 changes: 3,058 additions & 3,410 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CREATE2_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

396 changes: 218 additions & 178 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CREATE_EOF1.json

Large diffs are not rendered by default.

19,072 changes: 8,820 additions & 10,252 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CREATE_EOF1Invalid.json

Large diffs are not rendered by default.

6,462 changes: 3,055 additions & 3,407 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CREATE_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,292 changes: 684 additions & 608 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CreateTransactionEOF1.json

Large diffs are not rendered by default.

14,516 changes: 6,722 additions & 7,794 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/CreateTransactionInvalidEOF1.json

Large diffs are not rendered by default.

912 changes: 480 additions & 432 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/EOF1_Calls.json

Large diffs are not rendered by default.

1,142 changes: 599 additions & 543 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3540/EOF1_Execution.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

10,544 changes: 5,784 additions & 4,760 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CREATE2_EOF1Invalid.json

Large diffs are not rendered by default.

4,068 changes: 2,260 additions & 1,808 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CREATE2_EOF1InvalidOpcodes.json

Large diffs are not rendered by default.

3,304 changes: 1,780 additions & 1,524 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CREATE2_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

10,624 changes: 5,824 additions & 4,800 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CREATE_EOF1Invalid.json

Large diffs are not rendered by default.

3,996 changes: 2,220 additions & 1,776 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CREATE_EOF1InvalidOpcodes.json

Large diffs are not rendered by default.

3,188 changes: 1,722 additions & 1,466 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CREATE_EOF1Invalid_FromEOF.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

8,932 changes: 4,978 additions & 3,954 deletions EIPTests/BlockchainTests/StateTests/stEOF/stEIP3670/CreateTransactionInvalidEOF1.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
{
"RJUMPI_MaxOffset_d0g0v0_Cancun" : {
"RJUMPI_MaxOffset_d0g0v0_Prague" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "evmone-t8n 0.10.0-dev",
"filling-tool-version" : "retesteth-0.3.1-shanghai+commit.e3504804.Linux.g++",
"generatedTestHash" : "fba80a1282c0eaf638c4fbbed41e59ca9e820a025ebf9e56c1b2292421b5833e",
"filling-rpc-server" : "evmone-t8n 0.11.0-dev+commit.cf827ae2.dirty",
"filling-tool-version" : "retesteth-0.3.1-shanghai+commit.acfdfad0.Linux.g++",
"generatedTestHash" : "893d58ea5ca7259360fbd7c78fdcc8a5f907fa5904f9f4574574b01faf265faa",
"lllcversion" : "Version: 0.5.14-develop.2022.4.6+commit.401d5358.Linux.g++",
"solidity" : "Version: 0.8.18-develop.2023.1.16+commit.469d6d4d.Linux.g++",
"source" : "src/EIPTestsFiller/StateTests/stEOF/stEIP4200/RJUMPI_MaxOffsetFiller.yml",
"sourceHash" : "14258fb6ac73c308c76eff0ed8675bc456fe0aa16d03a6f295bd99fec5710d0c"
"sourceHash" : "1b27d2c33b501f694f1ec4d2272c73ad5bfc0c667442cfaba7a0f561ce48f1c0"
},
"blocks" : [
{
"blockHeader" : {
"baseFeePerGas" : "0x0a",
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"dataGasUsed" : "0x00",
"difficulty" : "0x00",
"excessDataGas" : "0x00",
"extraData" : "0x00",
"gasLimit" : "0x05500000",
"gasUsed" : "0x029810",
"hash" : "0x156edb836713973b17b9df7f2b0954a044c8a8c785f470ca2d92250826022d50",
"hash" : "0x593cd096678ad0f4034d5cbb5ebce2b22e4edc80559d5565b1f869edbc852437",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000020000",
"nonce" : "0x0000000000000000",
"number" : "0x01",
"parentHash" : "0x5eb699c1f95dc891c9370d703826c96276a47babf11256531ec60ebefa2ee63f",
"parentHash" : "0x9c97a2f67a4bafd04cab2be6b34e9dc488b9aef1bcb0ada4da38f1ec72ef29ec",
"receiptTrie" : "0x6182a203a3068bb9df432d080f6e4de7155860fd67931d4341e321bd40faef3e",
"stateRoot" : "0xd89ee07bfc5378a548e3ba558013147e8ec57218a9f64fade1e18270594a0e1d",
"stateRoot" : "0xce0f8ee43d9911a0ee6948a40633c90b21bffa52f020e8aa1deefaa0c213f021",
"timestamp" : "0x03e8",
"transactionsTrie" : "0x9dd289e39c0f3c60bacc63eec0e84d263b70642c46c5733938be86ff9350b308",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"rlp" : "0xf90281f90218a05eb699c1f95dc891c9370d703826c96276a47babf11256531ec60ebefa2ee63fa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0d89ee07bfc5378a548e3ba558013147e8ec57218a9f64fade1e18270594a0e1da09dd289e39c0f3c60bacc63eec0e84d263b70642c46c5733938be86ff9350b308a06182a203a3068bb9df432d080f6e4de7155860fd67931d4341e321bd40faef3eb901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080018405500000830298108203e800a000000000000000000000000000000000000000000000000000000000000200008800000000000000000aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421f862f860800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801ba07c94e62687323becbaa8b3ceac9a4bac4eda2836456f8a4cc3965b597752eddaa05701b7e30347eb8405502fa12388189aa244a0671c959026f636b4d4e06dbd9fc0c0",
"rlp" : "0xf90283f9021aa09c97a2f67a4bafd04cab2be6b34e9dc488b9aef1bcb0ada4da38f1ec72ef29eca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ce0f8ee43d9911a0ee6948a40633c90b21bffa52f020e8aa1deefaa0c213f021a09dd289e39c0f3c60bacc63eec0e84d263b70642c46c5733938be86ff9350b308a06182a203a3068bb9df432d080f6e4de7155860fd67931d4341e321bd40faef3eb901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080018405500000830298108203e800a000000000000000000000000000000000000000000000000000000000000200008800000000000000000aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080f862f860800a83e4e1c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801ba07c94e62687323becbaa8b3ceac9a4bac4eda2836456f8a4cc3965b597752eddaa05701b7e30347eb8405502fa12388189aa244a0671c959026f636b4d4e06dbd9fc0c0",
"transactions" : [
{
"data" : "0x",
Expand All @@ -57,25 +59,27 @@
"baseFeePerGas" : "0x0b",
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"dataGasUsed" : "0x00",
"difficulty" : "0x00",
"excessDataGas" : "0x00",
"extraData" : "0x00",
"gasLimit" : "0x05500000",
"gasUsed" : "0x00",
"hash" : "0x5eb699c1f95dc891c9370d703826c96276a47babf11256531ec60ebefa2ee63f",
"hash" : "0x9c97a2f67a4bafd04cab2be6b34e9dc488b9aef1bcb0ada4da38f1ec72ef29ec",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000020000",
"nonce" : "0x0000000000000000",
"number" : "0x00",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xca76a6ff6d8bea8df2033fe234684d6d2633483eaaf8360c8330bf6578e32f30",
"stateRoot" : "0x6e49fb25a085b01be33f4721ed11e36f9349a1243a7f56a54fcd7d6083d8a019",
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"genesisRLP" : "0xf90219f90213a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ca76a6ff6d8bea8df2033fe234684d6d2633483eaaf8360c8330bf6578e32f30a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808405500000808000a000000000000000000000000000000000000000000000000000000000000200008800000000000000000ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421c0c0c0",
"lastblockhash" : "0x156edb836713973b17b9df7f2b0954a044c8a8c785f470ca2d92250826022d50",
"network" : "Cancun",
"genesisRLP" : "0xf9021bf90215a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa06e49fb25a085b01be33f4721ed11e36f9349a1243a7f56a54fcd7d6083d8a019a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808405500000808000a000000000000000000000000000000000000000000000000000000000000200008800000000000000000ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080c0c0c0",
"lastblockhash" : "0x593cd096678ad0f4034d5cbb5ebce2b22e4edc80559d5565b1f869edbc852437",
"network" : "Prague",
"postState" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0bd1d160",
Expand All @@ -86,7 +90,7 @@
},
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x7fef0001010004020001802e03000000000000020000000000000000000000000060005260137f60015d7fff000000000000000000000000000000000000000000000000000000815260058101905061800081015b808210156088577f5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b82526020820191506054565b507f7fef000101000402000100010300000000000000fe000000000000000000000081526020810190507e60005260146000f30000000000000000000000000000000000000000000000815260098101905080600080f06000556001805550",
"code" : "0x7fef0001010004020001802e04000000000000020000000000000000000000000060005260137f6001e17fff000000000000000000000000000000000000000000000000000000815260058101905061800081015b808210156088577f5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b82526020820191506054565b507f7fef000101000402000100010400000000000000fe000000000000000000000081526020810190507e60005260146000f30000000000000000000000000000000000000000000000815260098101905080600080f06000556001805550",
"nonce" : "0x01",
"storage" : {
"0x00" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40",
Expand All @@ -95,7 +99,7 @@
},
"0xf1ecf98489fa9ed60a664fc4998db699cfa39d40" : {
"balance" : "0x00",
"code" : "0xef000101000402000100010300000000000000fe",
"code" : "0xef000101000402000100010400000000000000fe",
"nonce" : "0x01",
"storage" : {
}
Expand All @@ -111,7 +115,7 @@
},
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x00",
"code" : "0x7fef0001010004020001802e03000000000000020000000000000000000000000060005260137f60015d7fff000000000000000000000000000000000000000000000000000000815260058101905061800081015b808210156088577f5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b82526020820191506054565b507f7fef000101000402000100010300000000000000fe000000000000000000000081526020810190507e60005260146000f30000000000000000000000000000000000000000000000815260098101905080600080f06000556001805550",
"code" : "0x7fef0001010004020001802e04000000000000020000000000000000000000000060005260137f6001e17fff000000000000000000000000000000000000000000000000000000815260058101905061800081015b808210156088577f5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b82526020820191506054565b507f7fef000101000402000100010400000000000000fe000000000000000000000081526020810190507e60005260146000f30000000000000000000000000000000000000000000000815260098101905080600080f06000556001805550",
"nonce" : "0x00",
"storage" : {
}
Expand Down
Loading