diff options
author | winsvega <winsvega@mail.ru> | 2018-09-14 05:11:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 05:11:08 +0800 |
commit | e6be2c8f0a4222dd3b42bb4e08aa344c42da3fc9 (patch) | |
tree | 3e2beba771a1fb382902a38c01c9c2d1af00a1a3 /src | |
parent | 3864810c499597684e8e92eb31c938a9db359c31 (diff) | |
parent | ed0830e9a5348dac050dbf9cb788f980e4fb6059 (diff) | |
download | dexon-tests-e6be2c8f0a4222dd3b42bb4e08aa344c42da3fc9.tar.gz dexon-tests-e6be2c8f0a4222dd3b42bb4e08aa344c42da3fc9.tar.zst dexon-tests-e6be2c8f0a4222dd3b42bb4e08aa344c42da3fc9.zip |
Merge pull request #508 from ethereum/create2
create2 on depth 1023 1024
Diffstat (limited to 'src')
18 files changed, 1599 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0Filler.json new file mode 100644 index 000000000..031766a02 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0Filler.json @@ -0,0 +1,93 @@ +{ + "Create2OnDepth1023_d0g0v0" : { + "_info" : { + "comment" : "Create2OnDepth1023, 0x0400 indicates 1022 level." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x7ffffffffffffffe", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141e", + "s" : "0x5310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x4f05179f0987710f94f2cbde67c5357bc1815af3" : { + "nonce" : "0x01" + }, + "0xa3da9580897e90044fa0de6969815406b3172e3a" : { + "storage" : { + "0x01" : "0x4f05179f0987710f94f2cbde67c5357bc1815af3" + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0xa3da9580897e90044fa0de6969815406b3172e3a" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03d090000000000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6000356000526000516002016000526104006000511460435760006000602060006104006000511473c94f5374fce5edbc8e2a8697c15331677e6ebf0b5af1506060565b6b6000600060006000f56001556020526000600c60346000f56001555b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6000356000526000600060206000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b5af1", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0Filler.json new file mode 100644 index 000000000..53ac60de1 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0Filler.json @@ -0,0 +1,93 @@ +{ + "Create2OnDepth1024_d0g0v0" : { + "_info" : { + "comment" : "Create2OnDepth1024, 0x0400 indicates 1022 level." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x7ffffffffffffffe", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141e", + "s" : "0x5310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" : { + "nonce" : "0x01" + }, + "0xb250d8cdad4a7a81323be508f4ac44584dd27597" : { + "storage" : { + "0x01" : "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0xb250d8cdad4a7a81323be508f4ac44584dd27597" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03d090000000000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6000356000526000516002016000526104006000511460435760006000602060006104006000511473c94f5374fce5edbc8e2a8697c15331677e6ebf0b5af150606d565b78686000600060006000f56000526000600960176000f56001556020526000601960276000f56001555b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x6000356000526000600060206000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b5af1", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2Recursive_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2Recursive_d0g0v0Filler.json new file mode 100644 index 000000000..0724118a9 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2Recursive_d0g0v0Filler.json @@ -0,0 +1,76 @@ +{ + "Create2Recursive_d0g0v0" : { + "_info" : { + "comment" : "Create2 inside Create2 inside Create2...." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x7ffffffffffffffe", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141e", + "s" : "0x5310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x4b17a07e119e86a0ff1fd21cdc9b4aba196ed3f8" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03d090000000000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x7d606460006000396103e85a10601b576000606460006000f5601d565b5a5b6000526000601e60026000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2Recursive_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2Recursive_d0g1v0Filler.json new file mode 100644 index 000000000..357afbc9e --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2Recursive_d0g1v0Filler.json @@ -0,0 +1,76 @@ +{ + "Create2Recursive_d0g1v0" : { + "_info" : { + "comment" : "Create2 inside Create2 inside Create2...." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x123e952c9800", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x40709e879933f7009237335607ff54ee39d6ba993004a7934a2cf27266d199df", + "s" : "0x1732e7973d4cf3f3355c5ab5334ea64ad4a138da93e0824c1145a3eaae6788a5", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x471a0e624a2ac11c82cf1ff843127f1c6aa98351" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x03d090000000000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x7d606460006000396103e85a10601b576000606460006000f5601d565b5a5b6000526000601e60026000f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g0v0Filler.json new file mode 100644 index 000000000..ee8be109c --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g0v0Filler.json @@ -0,0 +1,90 @@ +{ + "RevertDepthCreateAddressCollision_d0g0v0" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000000ea60", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x52440d702c31ca78d1e89a9f5f0ee6554bda5a781b175ae21edf7594bd6cc7e9", + "s" : "0x52e53542b83c552eecd9afc95cab350d90c4b1f9ce536353e68fb96c06b69df1", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g0v1Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g0v1Filler.json new file mode 100644 index 000000000..857d2c8d0 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g0v1Filler.json @@ -0,0 +1,90 @@ +{ + "RevertDepthCreateAddressCollision_d0g0v1" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000000ea60", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x53df2851760e6b130457296ef1feee0cff28344931e86addf1268d94e3fa3c14", + "s" : "0x7480574e4c870f6562875a39d6a6931ef7ed2adb615879b8446c4d89bc6b4742", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g1v0Filler.json new file mode 100644 index 000000000..a6e450f00 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g1v0Filler.json @@ -0,0 +1,92 @@ +{ + "RevertDepthCreateAddressCollision_d0g1v0" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000000ea60", + "gasLimit" : "0x027100", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x8b930a856a38429c61839f236a248a37597705b23d584f4c1bb1c801c05cb3", + "s" : "0x2e5d912c48763771022d94171cfd7ce27c3b35b9ad3aa0b959c40a52ef58dba2", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + "0x00" : "0x01", + "0x04" : "0x0c" + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g1v1Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g1v1Filler.json new file mode 100644 index 000000000..b3058bd2d --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d0g1v1Filler.json @@ -0,0 +1,92 @@ +{ + "RevertDepthCreateAddressCollision_d0g1v1" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000000ea60", + "gasLimit" : "0x027100", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3a430e0b34be1cfc72849704acc13cef0d5c0c8a3f3738c7c61147cadd42ec11", + "s" : "0x2605851d8e4ca49c3727910d011d6a7be5b84a58b339d8983a67cd38f77212f4", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + "0x00" : "0x01", + "0x04" : "0x0c" + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g0v0Filler.json new file mode 100644 index 000000000..ddf409ce9 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g0v0Filler.json @@ -0,0 +1,91 @@ +{ + "RevertDepthCreateAddressCollision_d1g0v0" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000001ea60", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x76dbf27177d8c577beefbbe13c86b656b9c478d49dd912f99999ede610ce5659", + "s" : "0x1ba504ebbeb5930a9b553778f174f6d2846d9fd5aa025c6f1ae5ed4859a94e2e", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g0v1Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g0v1Filler.json new file mode 100644 index 000000000..c6ffca201 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g0v1Filler.json @@ -0,0 +1,91 @@ +{ + "RevertDepthCreateAddressCollision_d1g0v1" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000001ea60", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xe5c26ec1126035eff78cf67da7ec945022a925eb9db2ad0367a726314dc7e775", + "s" : "0x795a6cdf8e39659503e04419d0a5bf64257be11813f4d60e36b51d9566c8602c", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g1v0Filler.json new file mode 100644 index 000000000..292d17432 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g1v0Filler.json @@ -0,0 +1,95 @@ +{ + "RevertDepthCreateAddressCollision_d1g1v0" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000001ea60", + "gasLimit" : "0x027100", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xe3f617fdd29557d15cab35cb321895b4a29e8ceaa136c158fb77e1389e24fab2", + "s" : "0x43a990142025f15c12caade84225f324f863991818ca85f59c9696c09ac60dcb", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x04" : "0x0c" + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + "0x02" : "0x08", + "0x03" : "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g1v1Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g1v1Filler.json new file mode 100644 index 000000000..cbad3d903 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/RevertDepthCreateAddressCollision_d1g1v1Filler.json @@ -0,0 +1,95 @@ +{ + "RevertDepthCreateAddressCollision_d1g1v1" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x000000000000000000000000000000000000000000000000000000000001ea60", + "gasLimit" : "0x027100", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x17574001613876c0e925083d80855b78374e6b5f8217bb5959dd96bd4466e091", + "s" : "0x69a842dcb9d30c79e00ce65060b811dff320a368f828172bd829401129fb2532", + "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x04" : "0x0c" + } + }, + "0xb000000000000000000000000000000000000000" : { + "storage" : { + "0x02" : "0x08", + "0x03" : "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" : { + "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "0x36", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60086002556000600060006000f550600c600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json new file mode 100644 index 000000000..aca360f59 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stSpecialTest/push32withoutByte_d0g0v0Filler.json @@ -0,0 +1,77 @@ +{ + "push32withoutByte_d0g0v0" : { + "_info" : { + "comment" : "push expect 32 bytes. but we have only 10 byte" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x2fefd8", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x07a120", + "gasPrice" : "0x01", + "nonce" : "0x01", + "r" : "0x932e278b5beb5e3451006c170ac478c8e04566268f0aaa1be1f2ccd95f3c2ff3", + "s" : "0x415b798d20c83f196f18ea39ab8e81371254b309915bf33cd361a943c04e7250", + "to" : "0x0dc02922f33e45537411b9f92a1dcc9750ba9932", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a763adf5", + "nonce" : "0x02" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "68795c4aa09d6f4ed3e5deddf8c2ad3049a601da", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x2fefd8", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0dc02922f33e45537411b9f92a1dcc9750ba9932" : { + "balance" : "0x00", + "code" : "0x7f11223344556677889910", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1023Filler.json b/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1023Filler.json new file mode 100644 index 000000000..284a10650 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1023Filler.json @@ -0,0 +1,79 @@ +{ + "Create2OnDepth1023" : { + "_info" : { + "comment" : "Create2OnDepth1023, 0x0400 indicates 1022 level." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "9223372036854775807", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x4f05179f0987710f94f2cbde67c5357bc1815af3" : { + "nonce" : "1" + }, + "0xa3da9580897e90044fa0de6969815406b3172e3a" : { + "storage" : { + "0x01" : "0x4f05179f0987710f94f2cbde67c5357bc1815af3" + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0xa3da9580897e90044fa0de6969815406b3172e3a" + } + } + } + } + ], + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "70368744177664000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "//codeinsidecreate2" : "{ [[1]] (CREATE2 0 0 0 0) } ", + "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (MSTORE 0 (ADD 2 (MLOAD 0))) (if (EQ (MLOAD 0) 0x0400) (seq (MSTORE 32 0x6000600060006000f5600155) [[1]] (CREATE2 0 52 12 0)) (CALL (GAS) 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b (EQ (MLOAD 0) 0x0400) 0 32 0 0)) }", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (CALL (GAS) 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 32 0 0) }", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "9223372036854775806" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json b/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json new file mode 100644 index 000000000..3d6d8f401 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json @@ -0,0 +1,80 @@ +{ + "Create2OnDepth1024" : { + "_info" : { + "comment" : "Create2OnDepth1024, 0x0400 indicates 1022 level." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "9223372036854775807", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" : { + "//comment" : "this nonce would have been equal to 2 if create worked", + "nonce" : "1" + }, + "0xb250d8cdad4a7a81323be508f4ac44584dd27597" : { + "storage" : { + "0x01" : "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0xb250d8cdad4a7a81323be508f4ac44584dd27597" + } + } + } + } + ], + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "70368744177664000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "//codeinsidecreate2" : "{ (MSTORE 0 0x6000600060006000f5) [[1]] (CREATE2 0 23 9 0) } ", + "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (MSTORE 0 (ADD 2 (MLOAD 0))) (if (EQ (MLOAD 0) 0x0400) (seq (MSTORE 32 0x686000600060006000f56000526000600960176000f5600155) [[1]] (CREATE2 0 39 25 0)) (CALL (GAS) 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b (EQ (MLOAD 0) 0x0400) 0 32 0 0)) }", + "nonce" : "0x00", + "storage" : { + } + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (CALL (GAS) 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 32 0 0) }", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "9223372036854775806" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json b/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json new file mode 100644 index 000000000..785967098 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json @@ -0,0 +1,77 @@ +{ + "Create2Recursive" : { + "_info" : { + "comment" : "Create2 inside Create2 inside Create2...." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "9223372036854775807", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x4b17a07e119e86a0ff1fd21cdc9b4aba196ed3f8" : { + "//comment" : "1024's address", + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x471a0e624a2ac11c82cf1ff843127f1c6aa98351" : { + "//comment" : "1023's address", + "nonce" : "1" + } + } + } + ], + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "70368744177664000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "//code" : "{ (CODECOPY 0 0 100) (if (LT (GAS) 1000) (GAS) (CREATE2 0 0 100 0)) }", + "code" : "{ (MSTORE 0 0x606460006000396103e85a10601b576000606460006000f5601d565b5a5b) (CREATE2 0 2 30 0) }", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "9223372036854775806", "20060000000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/RevertDepthCreateAddressCollisionFiller.json b/src/GeneralStateTestsFiller/stCreate2/RevertDepthCreateAddressCollisionFiller.json new file mode 100644 index 000000000..b3f4cebd5 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/RevertDepthCreateAddressCollisionFiller.json @@ -0,0 +1,150 @@ +{ + "RevertDepthCreateAddressCollision" : { + "_info" : { + "comment" : "copy of this test for CREATE2" + }, + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "54", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x04" : "0x0c" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x02" : "0x08", + "0x03" : "0x0c" + } + } + } + }, + { + "//comment" : "OOG in subcall", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + "0x00" : "0x01", + "0x04" : "0x0c" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + }, + { + "//comment" : "OOG after subcall", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + }, + { + "//comment" : "double OOG", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "5", + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "balance" : "", + "code" : "{ [[2]] 8 (CREATE2 0 0 0 0) [[3]] 12}", + "nonce" : "", + "storage" : { + } + } + }, + "transaction" : { + "//0 data" : "Call with value to address A, then another call X, in the call X CREATE of account A, OOG -> revert call X.", + "//1 data" : "d0g0 - double OOG, d0g1 - OOG inside subcall, d1g0 - OOG after subcall, d1g1 - no OOG", + "data" : [ + "0x000000000000000000000000000000000000000000000000000000000000ea60", + "0x000000000000000000000000000000000000000000000000000000000001ea60" + ], + "gasLimit" : [ + "110000", "160000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "3e180b1862f9d158abb5e519a6d8605540c23682", + "value" : [ + "1", "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json b/src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json new file mode 100644 index 000000000..62284f0e5 --- /dev/null +++ b/src/GeneralStateTestsFiller/stSpecialTest/push32withoutByteFiller.json @@ -0,0 +1,62 @@ +{ + "push32withoutByte" : { + "_info" : { + "comment" : "push expect 32 bytes. but we have only 10 byte" + }, + "env" : { + "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "3141592", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999978997", + "nonce" : "2" + } + } + } + ], + "pre" : { + "0dc02922f33e45537411b9f92a1dcc9750ba9932" : { + "balance" : "0", + "code" : "0x7f11223344556677889910", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "", + "nonce" : "1", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "500000" + ], + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0dc02922f33e45537411b9f92a1dcc9750ba9932", + "value" : [ + "0" + ] + } + } +} |