From 940a8f8ee46db91c26277263bd3d5eab0f4c2d06 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Fri, 9 Mar 2018 16:39:22 +0100 Subject: Test whether a failed create transaction reverts account deletion A modification of stRevertTests/RevertInCreateInInit. That test, for EIP158 only, accidentially tested the case where a contract creation transaction touches an empty account and then fails. This one tests the same thing not just for EIP158 but any network thereafter. --- .../FailedCreateRevertsDeletion_d0g0v0.json | 656 +++++++++++++++++++++ .../stSpecialTest/FailedCreateRevertsDeletion.json | 119 ++++ .../FailedCreateRevertsDeletion_d0g0v0Filler.json | 125 ++++ .../FailedCreateRevertsDeletionFiller.json | 63 ++ 4 files changed, 963 insertions(+) create mode 100644 BlockchainTests/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0.json create mode 100644 GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json create mode 100644 src/GeneralStateTestsFiller/stSpecialTest/FailedCreateRevertsDeletionFiller.json diff --git a/BlockchainTests/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0.json b/BlockchainTests/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0.json new file mode 100644 index 000000000..1697e75aa --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0.json @@ -0,0 +1,656 @@ +{ + "FailedCreateRevertsDeletion_d0g0v0_Byzantium" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json", + "sourceHash" : "557d11be2699b0a48e06c867d5292344a95eb3f059aea6dbcaa83bc8a451b6b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0x7399ccf12d242a2c6413b73e7e5cf07bd0af25cdd3146134c9c7cbeb99eea7fe", + "mixHash" : "0xd06bcde772b311674a0a57ca79561131f0b290bf860ca42ca1950185be63ec1e", + "nonce" : "0x3f5b539a51795fb1", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x97fe59b8004de685658f61c2939be1892eb8593c1ce622c392dd985946712e06", + "stateRoot" : "0x82747ad0a06f777d1c4361abf01e964fb33cb7274c3d771fc106d0d9e3f8c22c", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3db", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90270f901fca06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa082747ad0a06f777d1c4361abf01e964fb33cb7274c3d771fc106d0d9e3f8c22ca03efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3dba097fe59b8004de685658f61c2939be1892eb8593c1ce622c392dd985946712e06b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0d06bcde772b311674a0a57ca79561131f0b290bf860ca42ca1950185be63ec1e883f5b539a51795fb1f86ef86c8001850a0000000080809e3050600c80601260003960006000f050fe006211223360005260206000fd1ca0d2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21ba04d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58c0", + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "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" : "0x7399ccf12d242a2c6413b73e7e5cf07bd0af25cdd3146134c9c7cbeb99eea7fe", + "network" : "Byzantium", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a22424f62c0000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "FailedCreateRevertsDeletion_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json", + "sourceHash" : "557d11be2699b0a48e06c867d5292344a95eb3f059aea6dbcaa83bc8a451b6b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0x087c24c46666fba765c18a9676c7cf366c737599a8e97928b8d5b51a00bbd409", + "mixHash" : "0x27a5c11711d833e2b96180686bfd3174db7d63043cb133df311fa97dc0bf3b31", + "nonce" : "0xbc498d9609956ea9", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x97fe59b8004de685658f61c2939be1892eb8593c1ce622c392dd985946712e06", + "stateRoot" : "0x82747ad0a06f777d1c4361abf01e964fb33cb7274c3d771fc106d0d9e3f8c22c", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3db", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90270f901fca06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa082747ad0a06f777d1c4361abf01e964fb33cb7274c3d771fc106d0d9e3f8c22ca03efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3dba097fe59b8004de685658f61c2939be1892eb8593c1ce622c392dd985946712e06b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a027a5c11711d833e2b96180686bfd3174db7d63043cb133df311fa97dc0bf3b3188bc498d9609956ea9f86ef86c8001850a0000000080809e3050600c80601260003960006000f050fe006211223360005260206000fd1ca0d2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21ba04d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58c0", + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "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" : "0x087c24c46666fba765c18a9676c7cf366c737599a8e97928b8d5b51a00bbd409", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a22424f62c0000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "FailedCreateRevertsDeletion_d0g0v0_EIP150" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json", + "sourceHash" : "557d11be2699b0a48e06c867d5292344a95eb3f059aea6dbcaa83bc8a451b6b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0xcad579e9d780f4e0eb74ba1829e97ae85dc0dee457bfcade70c4c47fc1ef5681", + "mixHash" : "0x3d64e30e50d37a936526e3f9a333aa71a1b98bfbf3ea66639d283dbc214c977c", + "nonce" : "0x36bcfc9ddccc11be", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5c", + "stateRoot" : "0xf9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3db", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90270f901fca06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639a03efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3dba0565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a03d64e30e50d37a936526e3f9a333aa71a1b98bfbf3ea66639d283dbc214c977c8836bcfc9ddccc11bef86ef86c8001850a0000000080809e3050600c80601260003960006000f050fe006211223360005260206000fd1ca0d2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21ba04d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58c0", + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "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" : "0xcad579e9d780f4e0eb74ba1829e97ae85dc0dee457bfcade70c4c47fc1ef5681", + "network" : "EIP150", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "FailedCreateRevertsDeletion_d0g0v0_EIP158" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json", + "sourceHash" : "557d11be2699b0a48e06c867d5292344a95eb3f059aea6dbcaa83bc8a451b6b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0xe16b936213d4f423910b3b5bf808aeedbc7e1fd6cef9322ba2f6d644604b29ed", + "mixHash" : "0x272f4c5b5e10d58b66c88796a1ed0a2edaa3d14d30e067062be2051b6bac51e1", + "nonce" : "0x43daaadb198493f7", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5c", + "stateRoot" : "0xf9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3db", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90270f901fca06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639a03efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3dba0565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0272f4c5b5e10d58b66c88796a1ed0a2edaa3d14d30e067062be2051b6bac51e18843daaadb198493f7f86ef86c8001850a0000000080809e3050600c80601260003960006000f050fe006211223360005260206000fd1ca0d2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21ba04d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58c0", + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "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" : "0xe16b936213d4f423910b3b5bf808aeedbc7e1fd6cef9322ba2f6d644604b29ed", + "network" : "EIP158", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "FailedCreateRevertsDeletion_d0g0v0_Frontier" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json", + "sourceHash" : "557d11be2699b0a48e06c867d5292344a95eb3f059aea6dbcaa83bc8a451b6b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0xd99c6c407a60b183ec105362b39322bd47e9277902f501abb4374deb4c6e64b6", + "mixHash" : "0xb0b1d6ef1bd12100509330e25fe176871fdf4b0b54c5990f192dc8d869b0c058", + "nonce" : "0xe941f4e020df8a8e", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5c", + "stateRoot" : "0xf9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3db", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90270f901fca06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639a03efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3dba0565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0b0b1d6ef1bd12100509330e25fe176871fdf4b0b54c5990f192dc8d869b0c05888e941f4e020df8a8ef86ef86c8001850a0000000080809e3050600c80601260003960006000f050fe006211223360005260206000fd1ca0d2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21ba04d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58c0", + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "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" : "0xd99c6c407a60b183ec105362b39322bd47e9277902f501abb4374deb4c6e64b6", + "network" : "Frontier", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "FailedCreateRevertsDeletion_d0g0v0_Homestead" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json", + "sourceHash" : "557d11be2699b0a48e06c867d5292344a95eb3f059aea6dbcaa83bc8a451b6b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0x7fac0c1d27de10f8cf6fd57349b227072674c59251357de6ef9e74eae714fe0d", + "mixHash" : "0xffd43ec16d1038eae63140f89304447f517774f3d4ae80c6884628b510fdbee9", + "nonce" : "0x0f185df51f82425a", + "number" : "0x01", + "parentHash" : "0x6a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145", + "receiptTrie" : "0x565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5c", + "stateRoot" : "0xf9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x3efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3db", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90270f901fca06a6e0fafd7a591526d8910e0271827c9d33fdc4670f5b64be5f7e8608103a145a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f9257ecde85506c81ca7b0ca992ca7a58d189d0048efa197d0d1a134ee6c0639a03efc516ab57e2e3706011f5e75a8dbbe6532a133ed31091f87ee55868d37f3dba0565c3581a0a4c366c4bea265aedb1c15dcda0592346befe8ada2a89fb7dc4d5cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0ffd43ec16d1038eae63140f89304447f517774f3d4ae80c6884628b510fdbee9880f185df51f82425af86ef86c8001850a0000000080809e3050600c80601260003960006000f050fe006211223360005260206000fd1ca0d2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21ba04d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58c0", + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "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" : "0x7fac0c1d27de10f8cf6fd57349b227072674c59251357de6ef9e74eae714fe0d", + "network" : "Homestead", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion.json b/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion.json new file mode 100644 index 000000000..f7ee5fe1c --- /dev/null +++ b/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion.json @@ -0,0 +1,119 @@ +{ + "FailedCreateRevertsDeletion" : { + "_info" : { + "comment" : "A modification of stRevertTests/RevertInCreateInInit. That test, for EIP158 only, accidentially tested the case where a contract creation transaction touches an empty account and then fails. This one tests the same thing not just for EIP158 but any network thereafter.", + "filledwith" : "cpp-1.3.0+commit.7f06dbfd.Linux.g++", + "lllcversion" : "Version: 0.4.21-develop.2018.2.27+commit.2abc5be7.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stSpecialTest/FailedCreateRevertsDeletionFiller.json", + "sourceHash" : "f6f2a546449b344811478c99018a85930d972d1b011e797f925794f41d0ca1fb" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x4198bc14346b78f666445049893f68de17d21f892a1e2c2848b576ff0d80cb4a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x4198bc14346b78f666445049893f68de17d21f892a1e2c2848b576ff0d80cb4a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x4198bc14346b78f666445049893f68de17d21f892a1e2c2848b576ff0d80cb4a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x4198bc14346b78f666445049893f68de17d21f892a1e2c2848b576ff0d80cb4a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x4198bc14346b78f666445049893f68de17d21f892a1e2c2848b576ff0d80cb4a", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x4198bc14346b78f666445049893f68de17d21f892a1e2c2848b576ff0d80cb4a", + "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" : [ + "0x3050600c80601260003960006000f050fe006211223360005260206000fd" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x00" + ] + } + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json new file mode 100644 index 000000000..65e575b75 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/FailedCreateRevertsDeletion_d0g0v0Filler.json @@ -0,0 +1,125 @@ +{ + "FailedCreateRevertsDeletion_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x3050600c80601260003960006000f050fe006211223360005260206000fd", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd2675e5251bbee2d0fc503a310a60f701551337f14d8b491b3bfbd35ba2ec21b", + "s" : "0x4d173f61a440739f37a200cc8268d661951a5c562353766408ae26a5b9280e58", + "to" : "", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Frontier", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Homestead", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "EIP150", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "EIP158", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "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" : { + } + } + } + } +} \ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stSpecialTest/FailedCreateRevertsDeletionFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/FailedCreateRevertsDeletionFiller.json new file mode 100644 index 000000000..0d6972d19 --- /dev/null +++ b/src/GeneralStateTestsFiller/stSpecialTest/FailedCreateRevertsDeletionFiller.json @@ -0,0 +1,63 @@ +{ + "FailedCreateRevertsDeletion" : { + "_info" : { + "comment" : "A modification of stRevertTests/RevertInCreateInInit. That test, for EIP158 only, accidentially tested the case where a contract creation transaction touches an empty account and then fails. This one tests the same thing not just for EIP158 but any network thereafter." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Frontier"], + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0", + "code" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "{ (seq (address) (CREATE 0 0 (lll (seq (mstore 0 0x112233) (revert 0 32)) 0)) (invalid) ) }" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x00" + ] + } + } +} -- cgit v1.2.3