diff options
26 files changed, 2280 insertions, 0 deletions
diff --git a/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0.json new file mode 100644 index 000000000..eca6c1a8c --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0.json @@ -0,0 +1,117 @@ +{ + "CreateMessageRevertedOOGInInit_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "create2 oog during the init code, + when create2 is from transaction init code. but oog still in create2 init code", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0Filler.json", + "sourceHash" : "7c2b29178eeb0efb963cf9e1408fe445d6a5c963cc8b2f37252efb2960e7d4e1" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x01ac3f", + "hash" : "0xc88aa71750ce14d0af6fa8586acdc0e6cadefddfb2a19322a5a3abfb48e376d8", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x18e67f719d8aba6574b31b737f85969e1633b3873449b2f504e6a573705aada2", + "receiptTrie" : "0x6ea0b0c89bb2c679585063fc30115e1ec2ec6f5994faeb485329a069d9b2f2fb", + "stateRoot" : "0xb94227f870d9b3568d7cfa89ef8d4e0f36f8cb633166af089d39347b69dd67ca", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x931220524950cffb8ca8fde421e81b1d33afc1c56af4441c2d03d0a25c821789", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90265f901faa018e67f719d8aba6574b31b737f85969e1633b3873449b2f504e6a573705aada2a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0b94227f870d9b3568d7cfa89ef8d4e0f36f8cb633166af089d39347b69dd67caa0931220524950cffb8ca8fde421e81b1d33afc1c56af4441c2d03d0a25c821789a06ea0b0c89bb2c679585063fc30115e1ec2ec6f5994faeb485329a069d9b2f2fbb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a510008301ac3f8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f865f86380018301adb080649769600c600055600d6001556000526000600a60166000f51ca0aa9c4941265c6dd813e98e983602b21472acba7fd8c22c1bd272955a8be32207a0017729207d1163e6069052305fd2b92a0a356f2965158e4a1b168a4fee128527c0", + "transactions" : [ + { + "data" : "0x69600c600055600d6001556000526000600a60166000f5", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xaa9c4941265c6dd813e98e983602b21472acba7fd8c22c1bd272955a8be32207", + "s" : "0x017729207d1163e6069052305fd2b92a0a356f2965158e4a1b168a4fee128527", + "to" : "", + "v" : "0x1c", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x18e67f719d8aba6574b31b737f85969e1633b3873449b2f504e6a573705aada2", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xd1e15f0f31fa2d018559abdd82ee755c615ac2a76b835a329b5e278879a2b1a0", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0d1e15f0f31fa2d018559abdd82ee755c615ac2a76b835a329b5e278879a2b1a0a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xc88aa71750ce14d0af6fa8586acdc0e6cadefddfb2a19322a5a3abfb48e376d8", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec9ac3f", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x64", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x02e73d", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0.json b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0.json new file mode 100644 index 000000000..82aac0e76 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0.json @@ -0,0 +1,126 @@ +{ + "CreateMessageRevertedOOGInInit_d0g1v0_Constantinople" : { + "_info" : { + "comment" : "create2 oog during the init code, + when create2 is from transaction init code. but oog still in create2 init code", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0Filler.json", + "sourceHash" : "b23d67e1f53108437c5ed9a3006b5759d4ac4ef8753e543b5a0aaa2e7c00fc75" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x01ed88", + "hash" : "0x9d5e8fa5b0057157241e21fae7a39788ced4bf256151b5d105b1d9b038ec50e4", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x18e67f719d8aba6574b31b737f85969e1633b3873449b2f504e6a573705aada2", + "receiptTrie" : "0x8006710d64b8280b653402206cdbe254b190c8a1ca6cca75ea32fb82b25b8f00", + "stateRoot" : "0x6ffedbe6f9af64e3375f61cecb0f2cf7097b3b0593f585610544df44d05e122a", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x74ad0400e69c13412eca85692b4362be042c76bd91becb83b3610d2595028b31", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90265f901faa018e67f719d8aba6574b31b737f85969e1633b3873449b2f504e6a573705aada2a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa06ffedbe6f9af64e3375f61cecb0f2cf7097b3b0593f585610544df44d05e122aa074ad0400e69c13412eca85692b4362be042c76bd91becb83b3610d2595028b31a08006710d64b8280b653402206cdbe254b190c8a1ca6cca75ea32fb82b25b8f00b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a510008301ed888203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f865f8638001830249f080649769600c600055600d6001556000526000600a60166000f51ba050547e9246a9a4fd017b785e38726a5019ebdf4e3260dfaaa3f2a18f77784e10a05a3813b5fdb075d0bf25787c7ade8e394a5e07370bc495d4c1af2a75746af5f3c0", + "transactions" : [ + { + "data" : "0x69600c600055600d6001556000526000600a60166000f5", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x50547e9246a9a4fd017b785e38726a5019ebdf4e3260dfaaa3f2a18f77784e10", + "s" : "0x5a3813b5fdb075d0bf25787c7ade8e394a5e07370bc495d4c1af2a75746af5f3", + "to" : "", + "v" : "0x1b", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x18e67f719d8aba6574b31b737f85969e1633b3873449b2f504e6a573705aada2", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xd1e15f0f31fa2d018559abdd82ee755c615ac2a76b835a329b5e278879a2b1a0", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0d1e15f0f31fa2d018559abdd82ee755c615ac2a76b835a329b5e278879a2b1a0a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x9d5e8fa5b0057157241e21fae7a39788ced4bf256151b5d105b1d9b038ec50e4", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec9ed88", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x64", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x02a5f4", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf3059e18a327c662766f6ba11808c400635847ef" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x0d" + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0.json new file mode 100644 index 000000000..b133df6f8 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0.json @@ -0,0 +1,110 @@ +{ + "CreateMessageReverted_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "CreateMessageReverted for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0Filler.json", + "sourceHash" : "4b8dafd1be2909598572e28a421c2b34720bcecdf32dc39bcbd681d339a0a0d8" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x0136db", + "hash" : "0x7f57558e263fb9dd46ee6b10de0f4985c1b22d9d678ab53afeedac857778d84b", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x5ffbfe1df7eb04e0045cca373c622524436e74f26de4809633e81b1649f53e37", + "receiptTrie" : "0x5d9d7368bbadb8e5bd6b7df39b975e322f73339b88db8b0a1d89ecab94512cc0", + "stateRoot" : "0xa6155e64c3094877afcc5e7f39fd1ce7d0d4e524f443ad68fc65d201f91e1862", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xd1e4095007bdbaf4efbfc8682ba6666650a43f33ed043721cfe3b756ec099276", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90262f901faa05ffbfe1df7eb04e0045cca373c622524436e74f26de4809633e81b1649f53e37a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a6155e64c3094877afcc5e7f39fd1ce7d0d4e524f443ad68fc65d201f91e1862a0d1e4095007bdbaf4efbfc8682ba6666650a43f33ed043721cfe3b756ec099276a05d9d7368bbadb8e5bd6b7df39b975e322f73339b88db8b0a1d89ecab94512cc0b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a51000830136db8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f86080018301388094b94f5374fce5edbc8e2a8697c15331677e6ebf0b64801ca03e4ddcb559b4c358085b4c41e9e74eddd69ad16c5ebc31886b47e09ac659de4da023ce841244548b3f85069dc64b90b846e717ffc3e6f47e953f38f72787f7600bc0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x013880", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3e4ddcb559b4c358085b4c41e9e74eddd69ad16c5ebc31886b47e09ac659de4d", + "s" : "0x23ce841244548b3f85069dc64b90b846e717ffc3e6f47e953f38f72787f7600b", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x5ffbfe1df7eb04e0045cca373c622524436e74f26de4809633e81b1649f53e37", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x1755e3996a9841a4f65d7dbf24195eb8ad1764907fccfd6b894284ecdffd1f26", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa01755e3996a9841a4f65d7dbf24195eb8ad1764907fccfd6b894284ecdffd1f26a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x7f57558e263fb9dd46ee6b10de0f4985c1b22d9d678ab53afeedac857778d84b", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec936db", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x035ca1", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x64", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0.json b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0.json new file mode 100644 index 000000000..900750cbb --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0.json @@ -0,0 +1,119 @@ +{ + "CreateMessageReverted_d0g1v0_Constantinople" : { + "_info" : { + "comment" : "CreateMessageReverted for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0Filler.json", + "sourceHash" : "81001c0d7e92d382b4847006f7ee38c7cbd5cb9300fe1d9d5ebca2e2f63d6644" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x016b6c", + "hash" : "0x4de253e4647da3e0afd7c4d1af5cccae4f134d89bf9d645dffbec9518d6acb03", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x5ffbfe1df7eb04e0045cca373c622524436e74f26de4809633e81b1649f53e37", + "receiptTrie" : "0x22660ef55de89717cefbb7b36016c92e32b52fc11b6ec341383ac0a2f6d068a3", + "stateRoot" : "0x6adbf2a7f2cca06686f1e7587fbb8748e874ea328f75de3cb5953132cc23e386", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xa9a9853a298b16e642b5e3c5b2754c546d33d3b601b5d45f3f4192b2c94c5ac3", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90262f901faa05ffbfe1df7eb04e0045cca373c622524436e74f26de4809633e81b1649f53e37a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa06adbf2a7f2cca06686f1e7587fbb8748e874ea328f75de3cb5953132cc23e386a0a9a9853a298b16e642b5e3c5b2754c546d33d3b601b5d45f3f4192b2c94c5ac3a022660ef55de89717cefbb7b36016c92e32b52fc11b6ec341383ac0a2f6d068a3b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a5100083016b6c8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f8608001830249f094b94f5374fce5edbc8e2a8697c15331677e6ebf0b64801ba096ce5e9ce5c3ce45b5012bca58ad99cf985c78a039a3ca3a560365824f16ae95a02ccb4e955b0e7c73cfe82787b0c4295109e131840c43a664b363b3caff619a6ec0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x96ce5e9ce5c3ce45b5012bca58ad99cf985c78a039a3ca3a560365824f16ae95", + "s" : "0x2ccb4e955b0e7c73cfe82787b0c4295109e131840c43a664b363b3caff619a6e", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x5ffbfe1df7eb04e0045cca373c622524436e74f26de4809633e81b1649f53e37", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x1755e3996a9841a4f65d7dbf24195eb8ad1764907fccfd6b894284ecdffd1f26", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa01755e3996a9841a4f65d7dbf24195eb8ad1764907fccfd6b894284ecdffd1f26a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x4de253e4647da3e0afd7c4d1af5cccae4f134d89bf9d645dffbec9518d6acb03", + "network" : "Constantinople", + "postState" : { + "0x244fe9a7867edcc140245e775071fbfe6ebedbae" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x0d" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec96b6c", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x032810", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x64", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0.json new file mode 100644 index 000000000..59a797b18 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0.json @@ -0,0 +1,113 @@ +{ + "RevertInCreateInInit_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "RevertInCreateInInit for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0Filler.json", + "sourceHash" : "68689814c158d5d3ccaf357166e4f238bcd76746c2f3fc242294f6b040274215" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x01f29b", + "hash" : "0x69dd68c89c6f7d6b2748ea6ce5d1690998d65960a9cb4e0675c36658e4e3ef7b", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x3a2e63a6933d031e1ceba2448b067f90a79548ffa4c09bec28d33601e253910a", + "stateRoot" : "0x7723babb814aedfcf84ee34bec3b0777f2a09ca78347de89157fd8e55d10b5c3", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x7d26a98018717ccc4931543ee87014290b64d0cc95031e3b83f99a5db131677e", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901faa06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa07723babb814aedfcf84ee34bec3b0777f2a09ca78347de89157fd8e55d10b5c3a07d26a98018717ccc4931543ee87014290b64d0cc95031e3b83f99a5db131677ea03a2e63a6933d031e1ceba2448b067f90a79548ffa4c09bec28d33601e253910ab90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a000000008301f29b8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f880f87e8001850a000000008080b030506000600c80602460003960006000f5503d6000556020600060003e600051600155006211223360005260206000fd1ba078f220ad907e6fae34cdcaa3b0b1765e26c506d0ee724fac793fa124bcbdb053a004262c7e50ad6240f6b8cfe4ec3f273e71de0ff81996d453e1c79ca112ad5827c0", + "transactions" : [ + { + "data" : "0x30506000600c80602460003960006000f5503d6000556020600060003e600051600155006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x78f220ad907e6fae34cdcaa3b0b1765e26c506d0ee724fac793fa124bcbdb053", + "s" : "0x04262c7e50ad6240f6b8cfe4ec3f273e71de0ff81996d453e1c79ca112ad5827", + "to" : "", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xbb66f5a3f61c86eba37c5ea6c3464988e4a07b794414d7791770c44c065cfae9", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0bb66f5a3f61c86eba37c5ea6c3464988e4a07b794414d7791770c44c065cfae9a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x69dd68c89c6f7d6b2748ea6ce5d1690998d65960a9cb4e0675c36658e4e3ef7b", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec9f29b", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x02", + "storage" : { + "0x00" : "0x20", + "0x01" : "0x112233" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x63fffe0d65", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0.json new file mode 100644 index 000000000..ab421e9bb --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0.json @@ -0,0 +1,111 @@ +{ + "RevertOpcodeCreate_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "RevertOpcodeCreate for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0Filler.json", + "sourceHash" : "86555455df35d373883f1cf2e44f7499b6502b61423ef7a39c6aeae8f1a2a20c" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x989680", + "gasUsed" : "0x016fbc", + "hash" : "0x80c87ad033d76513661b41ee932ba36fd80600d914f2cb5bb13139e0d2360d07", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xa7ad8d020220cf21778f37189a505a415b241abd4e00f77ae057496f681cd07a", + "receiptTrie" : "0x4c4b26e8e1e920fa6d77675e464ab3536e1eadd0fe2b9b4028bbb39c442e935e", + "stateRoot" : "0xbf2d9c1faf3af7feb9b903db431d2ef1031bd39d2af8a36238f9dae3d21b94e8", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3000f7730192ab3e91fae67fd3cf1fe98649895f8633bcfeca26bb53b8b89914", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf9026ff901f8a0a7ad8d020220cf21778f37189a505a415b241abd4e00f77ae057496f681cd07aa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0bf2d9c1faf3af7feb9b903db431d2ef1031bd39d2af8a36238f9dae3d21b94e8a03000f7730192ab3e91fae67fd3cf1fe98649895f8633bcfeca26bb53b8b89914a04c4b26e8e1e920fa6d77675e464ab3536e1eadd0fe2b9b4028bbb39c442e935eb901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000018398968083016fbc8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f871f86f8001830704e094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808f600160005560016000fe60116001551ba0817f0565657dfb3c1ac27e92eb3b785b8451ab6b01916a9df24c4623eca4a420a05afe4c23c8da174642c5ebf7ef647ae90f0bab87d31b1a817ba034003d350332c0", + "transactions" : [ + { + "data" : "0x600160005560016000fe6011600155", + "gasLimit" : "0x0704e0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x817f0565657dfb3c1ac27e92eb3b785b8451ab6b01916a9df24c4623eca4a420", + "s" : "0x5afe4c23c8da174642c5ebf7ef647ae90f0bab87d31b1a817ba034003d350332", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x989680", + "gasUsed" : "0x00", + "hash" : "0xa7ad8d020220cf21778f37189a505a415b241abd4e00f77ae057496f681cd07a", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf5bab2d23cfa6422e8053757d97aaec8bd5bda823027cd05c72720b8f03a2210", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f5bab2d23cfa6422e8053757d97aaec8bd5bda823027cd05c72720b8f03a2210a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008083989680808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x80c87ad033d76513661b41ee932ba36fd80600d914f2cb5bb13139e0d2360d07", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec96fbc", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a3a044", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0c" + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0.json b/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0.json new file mode 100644 index 000000000..e96434c1d --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0.json @@ -0,0 +1,110 @@ +{ + "RevertOpcodeCreate_d0g1v0_Constantinople" : { + "_info" : { + "comment" : "RevertOpcodeCreate for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0Filler.json", + "sourceHash" : "b14bb209e603d3978036edf2a3302ebd93d0546450c57020aae4d631609eccab" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x989680", + "gasUsed" : "0x011170", + "hash" : "0x996ff19f6b0343bce558f5e1f84843ec6f528072de2694dc8675d7aa6c94d52e", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xa7ad8d020220cf21778f37189a505a415b241abd4e00f77ae057496f681cd07a", + "receiptTrie" : "0x33206fdb0b04af73aed5fcc49c377894a2ad7acc74a06782884999e9c75de4ba", + "stateRoot" : "0xba4f32c2fe5a257c57b46d517e7d46ee2da90d9620bad203e8fa4c066d0abf2b", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x304ece29243d3ee1875450ad9767809511b17b0395dd7fe5bb16db7914c306f1", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf9026ff901f8a0a7ad8d020220cf21778f37189a505a415b241abd4e00f77ae057496f681cd07aa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ba4f32c2fe5a257c57b46d517e7d46ee2da90d9620bad203e8fa4c066d0abf2ba0304ece29243d3ee1875450ad9767809511b17b0395dd7fe5bb16db7914c306f1a033206fdb0b04af73aed5fcc49c377894a2ad7acc74a06782884999e9c75de4bab9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000183989680830111708203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f871f86f80018301117094b94f5374fce5edbc8e2a8697c15331677e6ebf0b808f600160005560016000fe60116001551ba08cf1c95021ba82caf65e283687f3089cdcfeb55b8bff25d36d902bc6d989911da05c232f85f4187001617f88537508f48f925b6dbe384958293486893b3cdd88ffc0", + "transactions" : [ + { + "data" : "0x600160005560016000fe6011600155", + "gasLimit" : "0x011170", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x8cf1c95021ba82caf65e283687f3089cdcfeb55b8bff25d36d902bc6d989911d", + "s" : "0x5c232f85f4187001617f88537508f48f925b6dbe384958293486893b3cdd88ff", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x989680", + "gasUsed" : "0x00", + "hash" : "0xa7ad8d020220cf21778f37189a505a415b241abd4e00f77ae057496f681cd07a", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf5bab2d23cfa6422e8053757d97aaec8bd5bda823027cd05c72720b8f03a2210", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f5bab2d23cfa6422e8053757d97aaec8bd5bda823027cd05c72720b8f03a2210a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008083989680808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x996ff19f6b0343bce558f5e1f84843ec6f528072de2694dc8675d7aa6c94d52e", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec91170", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a3fe90", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0.json new file mode 100644 index 000000000..fc5da310c --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0.json @@ -0,0 +1,112 @@ +{ + "RevertOpcodeInCreateReturns_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "RevertOpcodeInCreateReturns for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0Filler.json", + "sourceHash" : "fdd080bca33c928d512fb79cbd1c4efb2a6244cd20dbf6e00a27706aafd982d5" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0xe2c7", + "hash" : "0x4d8ac764177a7fde868209a3df89402929c4127b19091149ddaa84de94215b2e", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xacb823cc5a133ba47164c591f383f95291774ca466521406680ece6f3a339f11", + "receiptTrie" : "0x8d2ed8e44e9ffe14a6ab886a5dc0037c6131a33c47a32a48b0b0b3969e868325", + "stateRoot" : "0x3ae238f3519fcf4f2f718e3e65828db778ddec4ab5875a2871d5999578893964", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90263f901f9a0acb823cc5a133ba47164c591f383f95291774ca466521406680ece6f3a339f11a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03ae238f3519fcf4f2f718e3e65828db778ddec4ab5875a2871d5999578893964a0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba08d2ed8e44e9ffe14a6ab886a5dc0037c6131a33c47a32a48b0b0b3969e868325b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a0000000082e2c78203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0", + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507", + "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0xacb823cc5a133ba47164c591f383f95291774ca466521406680ece6f3a339f11", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xcc9a8bea733b0f00442ff86f1f8aece3ec5f2f3c9bf4fbef2bef21e6333f2ed7", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0cc9a8bea733b0f00442ff86f1f8aece3ec5f2f3c9bf4fbef2bef21e6333f2ed7a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x4d8ac764177a7fde868209a3df89402929c4127b19091149ddaa84de94215b2e", + "network" : "Constantinople", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600c80601560003960006000f5503d600055006211223360005260206000fd", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x20" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x1bc16d674ec8e2c7", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x63ffff1d39", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600c80601560003960006000f5503d600055006211223360005260206000fd", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/CreateMessageReverted.json b/GeneralStateTests/stCreate2/CreateMessageReverted.json new file mode 100644 index 000000000..46f07436b --- /dev/null +++ b/GeneralStateTests/stCreate2/CreateMessageReverted.json @@ -0,0 +1,73 @@ +{ + "CreateMessageReverted" : { + "_info" : { + "comment" : "CreateMessageReverted for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedFiller.json", + "sourceHash" : "b3e26a0f8aaf0b1a065e02e1518b124e85c90e031f01a1d165f855b60bdd131c" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x123b0bb0e62149e1f9aaa88ec707d692794dd9fd3cd5beb16b74a320b466c811", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3b40492e75dd1cbc21a69c63b64096c0fb1f9be29ee88efa116a532426f63752", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x013880", + "0x0249f0" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit.json b/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit.json new file mode 100644 index 000000000..5ac15874c --- /dev/null +++ b/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit.json @@ -0,0 +1,73 @@ +{ + "CreateMessageRevertedOOGInInit" : { + "_info" : { + "comment" : "create2 oog during the init code, + when create2 is from transaction init code. but oog still in create2 init code", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedOOGInInitFiller.json", + "sourceHash" : "7243cf543edf7131ca5ccb0a91a135c7d20a14b3d19558f2c05dbda78b2d31a3" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xe90d055bebfbb9d11fde3f2b17c08ffab8e1e4d31b9ab48ccfb162fdea7413cc", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x075015589242bcfa9875b7ac8a9fe622d151ef62ca2d2833859cc8d8c2ded74a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x69600c600055600d6001556000526000600a60166000f5" + ], + "gasLimit" : [ + "0x01adb0", + "0x0249f0" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x64" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/RevertInCreateInInit.json b/GeneralStateTests/stCreate2/RevertInCreateInInit.json new file mode 100644 index 000000000..3573b6ab4 --- /dev/null +++ b/GeneralStateTests/stCreate2/RevertInCreateInInit.json @@ -0,0 +1,64 @@ +{ + "RevertInCreateInInit" : { + "_info" : { + "comment" : "RevertInCreateInInit for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/RevertInCreateInInitFiller.json", + "sourceHash" : "fa87cd61db233c995e24114bb267b17f33c2414518340d044871924cf882ad28" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xfdaa48a5eb4ecd412b7d8d84f56be53f98b3eb9dbb543a86f2e18fbdc8ac2f6e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x30506000600c80602460003960006000f5503d6000556020600060003e600051600155006211223360005260206000fd" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/RevertOpcodeCreate.json b/GeneralStateTests/stCreate2/RevertOpcodeCreate.json new file mode 100644 index 000000000..8ab175b11 --- /dev/null +++ b/GeneralStateTests/stCreate2/RevertOpcodeCreate.json @@ -0,0 +1,73 @@ +{ + "RevertOpcodeCreate" : { + "_info" : { + "comment" : "RevertOpcodeCreate for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/RevertOpcodeCreateFiller.json", + "sourceHash" : "180a272b96bc876c79ef124651b7fa9002e4395d812839975ef8b99d8f88f8c9" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x2b88028ac173beaf52cdc4c6781c8852dd19e3c91f9fcbe4b543445351822b04", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x615b48a94ded12c5ed93c10d0e20408212f29febf87155607fae8e659cda8051", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x600160005560016000fe6011600155" + ], + "gasLimit" : [ + "0x0704e0", + "0x011170" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns.json b/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns.json new file mode 100644 index 000000000..2a1b8459e --- /dev/null +++ b/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns.json @@ -0,0 +1,64 @@ +{ + "RevertOpcodeInCreateReturns" : { + "_info" : { + "comment" : "RevertOpcodeInCreateReturns for CREATE2", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/RevertOpcodeInCreateReturnsFiller.json", + "sourceHash" : "487957e60b2ebdaffcae9842ee0db952ccc8d602f4787b22001536a1ed19ae7a" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x9f3fe8a8d6a463dbc22b50c747f64bdcc5108039bce5fe153a8915b92903ae6d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600c80601560003960006000f5503d600055006211223360005260206000fd", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0Filler.json new file mode 100644 index 000000000..93d453c9c --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g0v0Filler.json @@ -0,0 +1,78 @@ +{ + "CreateMessageRevertedOOGInInit_d0g0v0" : { + "_info" : { + "comment" : "create2 oog during the init code, + when create2 is from transaction init code. but oog still in create2 init code" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x69600c600055600d6001556000526000600a60166000f5", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xaa9c4941265c6dd813e98e983602b21472acba7fd8c22c1bd272955a8be32207", + "s" : "0x017729207d1163e6069052305fd2b92a0a356f2965158e4a1b168a4fee128527", + "to" : "", + "v" : "0x1c", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xf3059e18a327c662766f6ba11808c400635847ef" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0Filler.json new file mode 100644 index 000000000..1c19a6cda --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageRevertedOOGInInit_d0g1v0Filler.json @@ -0,0 +1,84 @@ +{ + "CreateMessageRevertedOOGInInit_d0g1v0" : { + "_info" : { + "comment" : "create2 oog during the init code, + when create2 is from transaction init code. but oog still in create2 init code" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x69600c600055600d6001556000526000600a60166000f5", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x50547e9246a9a4fd017b785e38726a5019ebdf4e3260dfaaa3f2a18f77784e10", + "s" : "0x5a3813b5fdb075d0bf25787c7ade8e394a5e07370bc495d4c1af2a75746af5f3", + "to" : "", + "v" : "0x1b", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xf3059e18a327c662766f6ba11808c400635847ef" : { + "balance" : "0x00", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x0d" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0Filler.json new file mode 100644 index 000000000..d286a72a4 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g0v0Filler.json @@ -0,0 +1,78 @@ +{ + "CreateMessageReverted_d0g0v0" : { + "_info" : { + "comment" : "CreateMessageReverted for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x013880", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3e4ddcb559b4c358085b4c41e9e74eddd69ad16c5ebc31886b47e09ac659de4d", + "s" : "0x23ce841244548b3f85069dc64b90b846e717ffc3e6f47e953f38f72787f7600b", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x244fe9a7867edcc140245e775071fbfe6ebedbae" : { + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0Filler.json new file mode 100644 index 000000000..e15bee289 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/CreateMessageReverted_d0g1v0Filler.json @@ -0,0 +1,84 @@ +{ + "CreateMessageReverted_d0g1v0" : { + "_info" : { + "comment" : "CreateMessageReverted for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0249f0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x96ce5e9ce5c3ce45b5012bca58ad99cf985c78a039a3ca3a560365824f16ae95", + "s" : "0x2ccb4e955b0e7c73cfe82787b0c4295109e131840c43a664b363b3caff619a6e", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x64" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x244fe9a7867edcc140245e775071fbfe6ebedbae" : { + "balance" : "0x00", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x0d" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0493e0", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x69600c600055600d6001556000526000600a60166000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0Filler.json new file mode 100644 index 000000000..34e136e53 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertInCreateInInit_d0g0v0Filler.json @@ -0,0 +1,80 @@ +{ + "RevertInCreateInInit_d0g0v0" : { + "_info" : { + "comment" : "RevertInCreateInInit for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x30506000600c80602460003960006000f5503d6000556020600060003e600051600155006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x78f220ad907e6fae34cdcaa3b0b1765e26c506d0ee724fac793fa124bcbdb053", + "s" : "0x04262c7e50ad6240f6b8cfe4ec3f273e71de0ff81996d453e1c79ca112ad5827", + "to" : "", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x20", + "0x01" : "0x112233" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0Filler.json new file mode 100644 index 000000000..b67425958 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g0v0Filler.json @@ -0,0 +1,79 @@ +{ + "RevertOpcodeCreate_d0g0v0" : { + "_info" : { + "comment" : "RevertOpcodeCreate for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x600160005560016000fe6011600155", + "gasLimit" : "0x0704e0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x817f0565657dfb3c1ac27e92eb3b785b8451ab6b01916a9df24c4623eca4a420", + "s" : "0x5afe4c23c8da174642c5ebf7ef647ae90f0bab87d31b1a817ba034003d350332", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01", + "storage" : { + "0x00" : "0x0c" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x989680", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0Filler.json new file mode 100644 index 000000000..d5498bb82 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeCreate_d0g1v0Filler.json @@ -0,0 +1,76 @@ +{ + "RevertOpcodeCreate_d0g1v0" : { + "_info" : { + "comment" : "RevertOpcodeCreate for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x600160005560016000fe6011600155", + "gasLimit" : "0x011170", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x8cf1c95021ba82caf65e283687f3089cdcfeb55b8bff25d36d902bc6d989911d", + "s" : "0x5c232f85f4187001617f88537508f48f925b6dbe384958293486893b3cdd88ff", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x00" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x989680", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x01", + "code" : "0x6e600160005560016000fd60116001556000526000600f60116001f5600155600c600055", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0Filler.json new file mode 100644 index 000000000..d606fbe8c --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertOpcodeInCreateReturns_d0g0v0Filler.json @@ -0,0 +1,79 @@ +{ + "RevertOpcodeInCreateReturns_d0g0v0" : { + "_info" : { + "comment" : "RevertOpcodeInCreateReturns for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507", + "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x20" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600c80601560003960006000f5503d600055006211223360005260206000fd", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedFiller.json b/src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedFiller.json new file mode 100644 index 000000000..debbfdae8 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedFiller.json @@ -0,0 +1,85 @@ +{ + "CreateMessageReverted" : { + "_info" : { + "comment" : "CreateMessageReverted for CREATE2" + }, + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "244fe9a7867edcc140245e775071fbfe6ebedbae" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "244fe9a7867edcc140245e775071fbfe6ebedbae" : { + "balance" : "0", + "nonce" : "1", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x0d" + } + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "300000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{(MSTORE 0 0x600c600055600d600155) (CREATE2 0 22 10 0)}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "80000", "150000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedOOGInInitFiller.json b/src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedOOGInInitFiller.json new file mode 100644 index 000000000..6a76cf674 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/CreateMessageRevertedOOGInInitFiller.json @@ -0,0 +1,85 @@ +{ + "CreateMessageRevertedOOGInInit" : { + "_info" : { + "comment" : "create2 oog during the init code, + when create2 is from transaction init code. but oog still in create2 init code" + }, + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "f3059e18a327c662766f6ba11808c400635847ef" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "f3059e18a327c662766f6ba11808c400635847ef" : { + "balance" : "0", + "nonce" : "1", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x0d" + } + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "300000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "{(MSTORE 0 0x600c600055600d600155) (CREATE2 0 22 10 0)}" + ], + "gasLimit" : [ + "110000", "150000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "100" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/RevertInCreateInInitFiller.json b/src/GeneralStateTestsFiller/stCreate2/RevertInCreateInInitFiller.json new file mode 100644 index 000000000..509723405 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/RevertInCreateInInitFiller.json @@ -0,0 +1,64 @@ +{ + "RevertInCreateInInit" : { + "_info" : { + "comment" : "RevertInCreateInInit for CREATE2" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x20", + "0x01" : "0x112233" + } + } + } + } + ], + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "{ (seq (address) (CREATE2 0 0 (lll (seq (mstore 0 0x112233) (revert 0 32)) 0) 0) (SSTORE 0 (RETURNDATASIZE)) (returndatacopy 0 0 32) (sstore 1 (mload 0)) ) }" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x00" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/RevertOpcodeCreateFiller.json b/src/GeneralStateTestsFiller/stCreate2/RevertOpcodeCreateFiller.json new file mode 100644 index 000000000..c0c8c3559 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/RevertOpcodeCreateFiller.json @@ -0,0 +1,80 @@ +{ + "RevertOpcodeCreate" : { + "_info" : { + "comment" : "RevertOpcodeCreate for CREATE2" + }, + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1", + "storage" : { + "0x00" : "0x0c", + "0x01" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1", + "// code" : "{ [[0]] 1 (REVERT 0 1) [[1]] 12 }", + "code" : "{ (MSTORE 0 0x600160005560016000fd6011600155 ) [[1]](CREATE2 1 17 15 0) [[0]] 12 }", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x600160005560016000fe6011600155" + ], + "gasLimit" : [ + "460000", "70000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/RevertOpcodeInCreateReturnsFiller.json b/src/GeneralStateTestsFiller/stCreate2/RevertOpcodeInCreateReturnsFiller.json new file mode 100644 index 000000000..85a15e254 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/RevertOpcodeInCreateReturnsFiller.json @@ -0,0 +1,63 @@ +{ + "RevertOpcodeInCreateReturns" : { + "_info" : { + "comment" : "RevertOpcodeInCreateReturns for CREATE2" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x20" + } + } + } + } + ], + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "{ (seq (CREATE2 0 0 (lll (seq (mstore 0 0x112233) (revert 0 32)) 0) 0) (SSTORE 0 (RETURNDATASIZE)) )}", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +} |