From 35da994d298708a80d87435e8ef10c0d395b5b7b Mon Sep 17 00:00:00 2001 From: Adrian Sutton Date: Tue, 20 Nov 2018 10:54:17 +1000 Subject: Refill tests. --- ...hCreatedAndDeletedAccountCall_d0g0v0Filler.json | 81 +++++++++++++++++++ ...etedAccountRecheckInOuterCall_d0g0v0Filler.json | 94 ++++++++++++++++++++++ ...edAndDeletedAccountStaticCall_d0g0v0Filler.json | 81 +++++++++++++++++++ ...eHashCreatedAndDeletedAccount_d0g0v0Filler.json | 81 ------------------- 4 files changed, 256 insertions(+), 81 deletions(-) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountCall_d0g0v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountRecheckInOuterCall_d0g0v0Filler.json create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountStaticCall_d0g0v0Filler.json delete mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount_d0g0v0Filler.json (limited to 'src/BlockchainTestsFiller') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountCall_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountCall_d0g0v0Filler.json new file mode 100644 index 000000000..91a834e57 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountCall_d0g0v0Filler.json @@ -0,0 +1,81 @@ +{ + "extCodeHashCreatedAndDeletedAccountCall_d0g0v0" : { + "_info" : { + "comment" : "EXTCODEHASH/EXTCODESIZE of an account created then deleted via CALL in same transaction" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xc202f0d1337e2d44fa1bf35877e7278363f8a0870146a587e8f75bbd10df9240", + "s" : "0x5cb792200832e3876d0213563d9dc7705e255718f25455ca28eec91736e98c55", + "to" : "0xdeadbeef00000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xdeadbeef00000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x01" : "0x03", + "0x02" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x03" : "0x03" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x6010600f80604360803960806000f56000526000513f6000556000513b6001556000600060006000600060005162010000f1506000513f6002556000513b60035500fe600380600c6000396000f3fe6000ff", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountRecheckInOuterCall_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountRecheckInOuterCall_d0g0v0Filler.json new file mode 100644 index 000000000..20005c2d4 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountRecheckInOuterCall_d0g0v0Filler.json @@ -0,0 +1,94 @@ +{ + "extCodeHashCreatedAndDeletedAccountRecheckInOuterCall_d0g0v0" : { + "_info" : { + "comment" : "EXTCODEHASH/EXTCODESIZE of an account created then deleted in a CALL, checking results after the CALL returns" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x52adf3b876b2b63352ca31ecde66783574c333c957135265eecba278b27d177b", + "s" : "0x6d3e5c5a0ea5414786ef955b4babc5db60430145f5419853dae17eca4bf34546", + "to" : "0xdeadbeef00000000000000000000000000000001", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xdeadbeef00000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x01" : "0x03", + "0x02" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x03" : "0x03" + } + }, + "0xdeadbeef00000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x01" : "0x03" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x6010600f80604360803960806000f56000526000513f6000556000513b6001556000600060006000600060005162010000f1506000513f6002556000513b60035500fe600380600c6000396000f3fe6000ff", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000001" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x6000600060006000600073deadbeef0000000000000000000000000000000062020000f150737be7677a20a298ff0676ab31f91a0a923f8d94713f600055737be7677a20a298ff0676ab31f91a0a923f8d94713b60015500", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountStaticCall_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountStaticCall_d0g0v0Filler.json new file mode 100644 index 000000000..74eedc2f4 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccountStaticCall_d0g0v0Filler.json @@ -0,0 +1,81 @@ +{ + "extCodeHashCreatedAndDeletedAccountStaticCall_d0g0v0" : { + "_info" : { + "comment" : "EXTCODEHASH/EXTCODESIZE of an account created then deleted via STATICCALL in same transaction" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xc202f0d1337e2d44fa1bf35877e7278363f8a0870146a587e8f75bbd10df9240", + "s" : "0x5cb792200832e3876d0213563d9dc7705e255718f25455ca28eec91736e98c55", + "to" : "0xdeadbeef00000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xdeadbeef00000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x01" : "0x03", + "0x02" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", + "0x03" : "0x03" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdeadbeef00000000000000000000000000000000" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x6010600f80604160803960806000f56000526000513f6000556000513b600155600060006000600060005162010000fa506000513f6002556000513b60035500fe600380600c6000396000f3fe6000ff", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount_d0g0v0Filler.json deleted file mode 100644 index e31e3634f..000000000 --- a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashCreatedAndDeletedAccount_d0g0v0Filler.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "extCodeHashCreatedAndDeletedAccount_d0g0v0" : { - "_info" : { - "comment" : "EXTCODEHASH/EXTCODESIZE of an account created then deleted in same transaction" - }, - "blocks" : [ - { - "blockHeaderPremine" : { - "difficulty" : "0x020000", - "gasLimit" : "0x0f4240", - "timestamp" : "0x03e8", - "updatePoW" : "1" - }, - "transactions" : [ - { - "data" : "0x", - "gasLimit" : "0x061a80", - "gasPrice" : "0x01", - "nonce" : "0x00", - "r" : "0xc202f0d1337e2d44fa1bf35877e7278363f8a0870146a587e8f75bbd10df9240", - "s" : "0x5cb792200832e3876d0213563d9dc7705e255718f25455ca28eec91736e98c55", - "to" : "0xdeadbeef00000000000000000000000000000000", - "v" : "0x1c", - "value" : "0x01" - } - ], - "uncleHeaders" : [ - ] - } - ], - "expect" : [ - { - "network" : "Constantinople", - "result" : { - "0xdeadbeef00000000000000000000000000000000" : { - "storage" : { - "0x00" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", - "0x01" : "0x03", - "0x02" : "0x396daaf3a7871f857cc9b5878c6bb66c394a6d109706095617db9f4e4c22edcd", - "0x03" : "0x03" - } - } - } - } - ], - "genesisBlockHeader" : { - "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "difficulty" : "131072", - "extraData" : "0x42", - "gasLimit" : "0x0f4240", - "gasUsed" : "0", - "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "nonce" : "0x0102030405060708", - "number" : "0", - "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", - "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", - "timestamp" : "0x03b6", - "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" - }, - "pre" : { - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "", - "nonce" : "0x00", - "storage" : { - } - }, - "0xdeadbeef00000000000000000000000000000000" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x6010600f80604360803960806000f56000526000513f6000556000513b6001556000600060006000600060005162010000f1506000513f6002556000513b60035500fe600380600c6000396000f3fe6000ff", - "nonce" : "0x00", - "storage" : { - } - } - }, - "sealEngine" : "NoProof" - } -} \ No newline at end of file -- cgit v1.2.3