aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-09-14 00:12:20 +0800
committerDimitry <dimitry@ethereum.org>2018-09-14 00:12:38 +0800
commit74a9838f3c30d7d7d5503e0c50d6a628e16965d1 (patch)
treef36490a6d45529b5ca328909ecf51325f6519609
parent3864810c499597684e8e92eb31c938a9db359c31 (diff)
downloaddexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.gz
dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.tar.zst
dexon-tests-74a9838f3c30d7d7d5503e0c50d6a628e16965d1.zip
create2 on depth 1023 1024
-rw-r--r--BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0.json140
-rw-r--r--BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0.json140
-rw-r--r--GeneralStateTests/stCreate2/Create2OnDepth1023.json70
-rw-r--r--GeneralStateTests/stCreate2/Create2OnDepth1024.json70
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0Filler.json93
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0Filler.json93
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1023Filler.json79
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json80
8 files changed, 765 insertions, 0 deletions
diff --git a/BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0.json
new file mode 100644
index 000000000..6ebfadd5e
--- /dev/null
+++ b/BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0.json
@@ -0,0 +1,140 @@
+{
+ "Create2OnDepth1023_d0g0v0_Constantinople" : {
+ "_info" : {
+ "comment" : "Create2OnDepth1023, 0x0400 indicates 1022 level.",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1023_d0g0v0Filler.json",
+ "sourceHash" : "8ab2d6f6c2bb7af8bb358952362e68374f50262d58bdf413f2cb82ae233f8749"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x7fffffffffffffff",
+ "gasUsed" : "0x0de2ae",
+ "hash" : "0x70180d092fcaac91f8d526929dc6043e6aa9bf576b0e8c32cd2ead66797309c8",
+ "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "nonce" : "0x0000000000000000",
+ "number" : "0x01",
+ "parentHash" : "0x112700e1ab2098675dbfee7f032f57f3d5ba9d376f367c3b5f2dbbc426c9ba3b",
+ "receiptTrie" : "0x77add8fa79f06f424526bb190fd643c6b45fdf09b52c940921319d2427bd8d63",
+ "stateRoot" : "0x8fabe19ec63198bbc7cee70741b53f6a6a508e7c3e9658b2a88b0faf556f2060",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0x72fedc332d17eb72429c229b744b4fcadb32cfb724494d6063f85b4fdb46c8e6",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf9026af901fda0112700e1ab2098675dbfee7f032f57f3d5ba9d376f367c3b5f2dbbc426c9ba3ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa08fabe19ec63198bbc7cee70741b53f6a6a508e7c3e9658b2a88b0faf556f2060a072fedc332d17eb72429c229b744b4fcadb32cfb724494d6063f85b4fdb46c8e6a077add8fa79f06f424526bb190fd643c6b45fdf09b52c940921319d2427bd8d63b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff830de2ae8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f867f8658001887ffffffffffffffe94b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801ca0682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141ea05310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5c0",
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x7ffffffffffffffe",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141e",
+ "s" : "0x5310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "v" : "0x1c",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x7fffffffffffffff",
+ "gasUsed" : "0x00",
+ "hash" : "0x112700e1ab2098675dbfee7f032f57f3d5ba9d376f367c3b5f2dbbc426c9ba3b",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xe29251dded0d8b14c55d8078bb8d44b10133bd254154c3b2bba69e56e1ba93f6",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fff901faa00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e29251dded0d8b14c55d8078bb8d44b10133bd254154c3b2bba69e56e1ba93f6a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0x70180d092fcaac91f8d526929dc6043e6aa9bf576b0e8c32cd2ead66797309c8",
+ "network" : "Constantinople",
+ "postState" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x1bc16d674ed5e2ae",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x4f05179f0987710f94f2cbde67c5357bc1815af3" : {
+ "balance" : "0x00",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xa3da9580897e90044fa0de6969815406b3172e3a" : {
+ "balance" : "0x00",
+ "code" : "",
+ "nonce" : "0x02",
+ "storage" : {
+ "0x01" : "0x4f05179f0987710f94f2cbde67c5357bc1815af3"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x03d08ffffffff21d52",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6000356000526000516002016000526104006000511460435760006000602060006104006000511473c94f5374fce5edbc8e2a8697c15331677e6ebf0b5af1506060565b6b6000600060006000f56001556020526000600c60346000f56001555b",
+ "nonce" : "0x01",
+ "storage" : {
+ "0x01" : "0xa3da9580897e90044fa0de6969815406b3172e3a"
+ }
+ },
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6000356000526000600060206000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b5af1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "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/BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0.json
new file mode 100644
index 000000000..39d9553b1
--- /dev/null
+++ b/BlockchainTests/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0.json
@@ -0,0 +1,140 @@
+{
+ "Create2OnDepth1024_d0g0v0_Constantinople" : {
+ "_info" : {
+ "comment" : "Create2OnDepth1024, 0x0400 indicates 1022 level.",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/Create2OnDepth1024_d0g0v0Filler.json",
+ "sourceHash" : "9832d72f7f26dbcc3866755d92aefd4ad1b7c455c480b78b044bc168b7ff0d5a"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x7fffffffffffffff",
+ "gasUsed" : "0x0e5fc6",
+ "hash" : "0x074f4f9bf21b660dfd08dbe0acd365337baa0b44e63b083efd9dad09fadcdd18",
+ "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "nonce" : "0x0000000000000000",
+ "number" : "0x01",
+ "parentHash" : "0x9398df3e596a0cc96ffd9bb193b02f42cd2cb2855a1ec1847dfe4dbad10d7edf",
+ "receiptTrie" : "0xf1526947b7fd9fb0757d3c0758a2cdcdc427c38bbfe022699fd1af7bc3205bb0",
+ "stateRoot" : "0xa3cc898bb357bf2e4e8c53a0aab42fd0c4d8b067337d7cf3051b9856b0b2d07d",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0x72fedc332d17eb72429c229b744b4fcadb32cfb724494d6063f85b4fdb46c8e6",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf9026af901fda09398df3e596a0cc96ffd9bb193b02f42cd2cb2855a1ec1847dfe4dbad10d7edfa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc898bb357bf2e4e8c53a0aab42fd0c4d8b067337d7cf3051b9856b0b2d07da072fedc332d17eb72429c229b744b4fcadb32cfb724494d6063f85b4fdb46c8e6a0f1526947b7fd9fb0757d3c0758a2cdcdc427c38bbfe022699fd1af7bc3205bb0b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001887fffffffffffffff830e5fc68203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f867f8658001887ffffffffffffffe94b94f5374fce5edbc8e2a8697c15331677e6ebf0b80801ca0682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141ea05310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5c0",
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x7ffffffffffffffe",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x682c2c4540156eee52caf23c04c083e43822ae272665117c148b44bb7b3b141e",
+ "s" : "0x5310c5bf87744de849ff5304299df02aac9d7b7a653cf6ffa2ffe4d17a0c4ba5",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "v" : "0x1c",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x7fffffffffffffff",
+ "gasUsed" : "0x00",
+ "hash" : "0x9398df3e596a0cc96ffd9bb193b02f42cd2cb2855a1ec1847dfe4dbad10d7edf",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0x0a071ab27e1e49fb12f3b77f704fe69bff6d6460e1294811f926c1385f383e2b",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fff901faa00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa00a071ab27e1e49fb12f3b77f704fe69bff6d6460e1294811f926c1385f383e2ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080887fffffffffffffff808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0x074f4f9bf21b660dfd08dbe0acd365337baa0b44e63b083efd9dad09fadcdd18",
+ "network" : "Constantinople",
+ "postState" : {
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x1bc16d674ed65fc6",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" : {
+ "balance" : "0x00",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x03d08ffffffff1a03a",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xb250d8cdad4a7a81323be508f4ac44584dd27597" : {
+ "balance" : "0x00",
+ "code" : "",
+ "nonce" : "0x02",
+ "storage" : {
+ "0x01" : "0x436b8f99e8d953cdaf8f9472116add83ccd82a65"
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6000356000526000516002016000526104006000511460435760006000602060006104006000511473c94f5374fce5edbc8e2a8697c15331677e6ebf0b5af150606d565b78686000600060006000f56000526000600960176000f56001556020526000601960276000f56001555b",
+ "nonce" : "0x01",
+ "storage" : {
+ "0x01" : "0xb250d8cdad4a7a81323be508f4ac44584dd27597"
+ }
+ },
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6000356000526000600060206000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b5af1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "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/GeneralStateTests/stCreate2/Create2OnDepth1023.json b/GeneralStateTests/stCreate2/Create2OnDepth1023.json
new file mode 100644
index 000000000..0a40dfb89
--- /dev/null
+++ b/GeneralStateTests/stCreate2/Create2OnDepth1023.json
@@ -0,0 +1,70 @@
+{
+ "Create2OnDepth1023" : {
+ "_info" : {
+ "comment" : "Create2OnDepth1023, 0x0400 indicates 1022 level.",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1023Filler.json",
+ "sourceHash" : "c637e23aa6ce8d8e08168aeb24e4772f216de7da160de1c730dfee44abbe416d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x7fffffffffffffff",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x73b98bda50a839f57ebe10bf06f856c075d746f9205edf0d7ec4627b9312a892",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "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" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x7ffffffffffffffe"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stCreate2/Create2OnDepth1024.json b/GeneralStateTests/stCreate2/Create2OnDepth1024.json
new file mode 100644
index 000000000..fe75ba051
--- /dev/null
+++ b/GeneralStateTests/stCreate2/Create2OnDepth1024.json
@@ -0,0 +1,70 @@
+{
+ "Create2OnDepth1024" : {
+ "_info" : {
+ "comment" : "Create2OnDepth1024, 0x0400 indicates 1022 level.",
+ "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json",
+ "sourceHash" : "c30f57dd51459e8986963e0a0c7c3ba87a608db87e73e5a3aa9f7bf37dab4275"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x7fffffffffffffff",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xe11b3db7ae54feb94b49c29ccfc1fdf3b014fdf0a6b4c2315af79731effb33db",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "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" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x7ffffffffffffffe"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file
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/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"
+ ]
+ }
+ }
+}