diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-06 22:06:24 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-06 22:06:24 +0800 |
commit | 6699d329912456a409b943c62a6f37673ab425ef (patch) | |
tree | 832022d2588bac1fc23e71cdb5149aef55207c2c | |
parent | dde85c71308c624cd63d9573e449f1123e9ecc90 (diff) | |
download | dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.tar dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.tar.gz dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.tar.bz2 dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.tar.lz dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.tar.xz dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.tar.zst dexon-tests-6699d329912456a409b943c62a6f37673ab425ef.zip |
create2 call precompiles from init code
18 files changed, 2219 insertions, 0 deletions
diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0.json new file mode 100644 index 000000000..0292f1da2 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0.json @@ -0,0 +1,141 @@ +{ + "create2callPrecompiles_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json", + "sourceHash" : "4aa9ec924f5b8879b8f679e3017a471b51a7347bcbc90a8d00987205c71c2797" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x0270e4", + "hash" : "0x43938bac5339ec95a38a353d0fd7358ccff2efce9ef9dccf913405aafc1fe6cd", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0xfb0b27c14aefa34beaa2cd06588eb25b2aea1ec92bd37984d167287ed1ed10f7", + "stateRoot" : "0x94ef4c846f06a48156dce1ed2709fbdde07622bea62f56fa1eef7e980e5cf19f", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x8d2d2aee653e47233ecb92f2bb8e8a725b6c97492a205605ba7e4612287f4810", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf902f8f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa094ef4c846f06a48156dce1ed2709fbdde07622bea62f56fa1eef7e980e5cf19fa08d2d2aee653e47233ecb92f2bb8e8a725b6c97492a205605ba7e4612287f4810a0fb0b27c14aefa34beaa2cd06588eb25b2aea1ec92bd37984d167287ed1ed10f7b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a51000830270e48203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f8f8f8f6800183e4e1c08001b8a96000609980601060003960006000f5007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a6080510660005560005432146001551ba08508fd37c79f31f0a7139e933173385a13e567ef4de4546d39d2e4f16bfefbb7a03c0f160f119ddcd5aab7241b810029c4c6d14ed884e0d75c2bffb392665c66b8c0", + "transactions" : [ + { + "data" : "0x6000609980601060003960006000f5007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x8508fd37c79f31f0a7139e933173385a13e567ef4de4546d39d2e4f16bfefbb7", + "s" : "0x3c0f160f119ddcd5aab7241b810029c4c6d14ed884e0d75c2bffb392665c66b8", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x43938bac5339ec95a38a353d0fd7358ccff2efce9ef9dccf913405aafc1fe6cd", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62e70e4", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7618f1b", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xbf9998f0939b248f69a518dce4934ab1a86a31d3" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x01" : "0x01", + "0x02" : "0x01" + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0.json new file mode 100644 index 000000000..985e6decc --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0.json @@ -0,0 +1,140 @@ +{ + "create2callPrecompiles_d1g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0Filler.json", + "sourceHash" : "9159f9ed475380f70a0704e0be0efa5c898954757d0eeaf245257ebed9811a76" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x01f674", + "hash" : "0x6147ba6ffe8945046bd78d22fff347f1bc970680e49b4f5ea45d189ff919b2c7", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0x88e14f33d0fa430b511b41d0422db1977dcece38508e7248ab3746bc9ec29d13", + "stateRoot" : "0x1e23d3aebac87883bfff3695294542868d5c76c851f9b34ddfca1954ac99c908", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x15e77ed4b15c78ae4d08d116ee9cb44c235132bf130206ad3f9469780f654150", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa01e23d3aebac87883bfff3695294542868d5c76c851f9b34ddfca1954ac99c908a015e77ed4b15c78ae4d08d116ee9cb44c235132bf130206ad3f9469780f654150a088e14f33d0fa430b511b41d0422db1977dcece38508e7248ab3746bc9ec29d13b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a510008301f6748203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f880f87e800183e4e1c08001b26000602280601060003960006000f50064f34578907f6005526020600060256000600060026101f4f16002556000516000551ba0ee2c4e015789ed4fa4c5fe1c68bce2b99284b7a09ce1479cc9a7d31e2954b061a01ac64e08c6962339a9f9320a6fc5e3f99eaefe8a29020ce153063cf6bcc3bb65c0", + "transactions" : [ + { + "data" : "0x6000602280601060003960006000f50064f34578907f6005526020600060256000600060026101f4f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xee2c4e015789ed4fa4c5fe1c68bce2b99284b7a09ce1479cc9a7d31e2954b061", + "s" : "0x1ac64e08c6962339a9f9320a6fc5e3f99eaefe8a29020ce153063cf6bcc3bb65", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x6147ba6ffe8945046bd78d22fff347f1bc970680e49b4f5ea45d189ff919b2c7", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62df674", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0x9c06286277651156d55c61e5cc2b3d1ad90e3a46" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xcb39b3bde22925b2f931111130c774761d8895e0e08437c9b396c1e97d10f34d", + "0x02" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a762098b", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0.json new file mode 100644 index 000000000..84d389534 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0.json @@ -0,0 +1,140 @@ +{ + "create2callPrecompiles_d2g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0Filler.json", + "sourceHash" : "263fb29e48d29d86b56321d8cbd19cf63ea8c188527c1ab2131c9171401db7b0" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x01f5c2", + "hash" : "0x69570dc771a595609be2c984bdcb690dc433a813589581254ef08fc0364739ba", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0x81e81319c9b1aea15bfb12a55bcde136320113f01869e721cabbb16d5fa2e759", + "stateRoot" : "0xfd6069dc5a336796edabfba9104dc703d92712a4e8d1af69617914d0e0b30004", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xc275a0f893c32e30d543a42c9d29dfd8e4e3499d1077bfbddde28c0b0aad1370", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90277f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0fd6069dc5a336796edabfba9104dc703d92712a4e8d1af69617914d0e0b30004a0c275a0f893c32e30d543a42c9d29dfd8e4e3499d1077bfbddde28c0b0aad1370a081e81319c9b1aea15bfb12a55bcde136320113f01869e721cabbb16d5fa2e759b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a510008301f5c28203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f877f875800183e4e1c08001a96000601980601060003960006000f500602060006000600060006003610258f16002556000516000551ca0c99aa7f19224a9f7013d5051a471dfd2844be2c880f7a9026d891591a6a66135a028bf69ad2a9c4a29080a92386d690f5061502a1e78c07774f3c246b2b9d47db4c0", + "transactions" : [ + { + "data" : "0x6000601980601060003960006000f500602060006000600060006003610258f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xc99aa7f19224a9f7013d5051a471dfd2844be2c880f7a9026d891591a6a66135", + "s" : "0x28bf69ad2a9c4a29080a92386d690f5061502a1e78c07774f3c246b2b9d47db4", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x69570dc771a595609be2c984bdcb690dc433a813589581254ef08fc0364739ba", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62df5c2", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0x9570ffa061841f4bda1956f7917da64403416207" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x9c1185a5c5e9fc54612808977ee8f548b2258d31", + "0x02" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7620a3d", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0.json new file mode 100644 index 000000000..909c0f17d --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0.json @@ -0,0 +1,140 @@ +{ + "create2callPrecompiles_d3g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0Filler.json", + "sourceHash" : "c1091b32144a7f97c7af5eb01cec7ba79d2ad47493d776b93b6c808ef74feaf4" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x01f5f5", + "hash" : "0x53ed00c3e7828aa3ef9818997d6e92f1920f5818fa9f635c0ffee4c762e81f5c", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0xba9270f35914f4b71a9c08d0c7fad075e68cec410f66a9961f13eab1a98d4a98", + "stateRoot" : "0x974f2dbb9d161832266b5bb65c8b24b0eb70211f5352adef7898d4ac5e13bf6f", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xb7b6129ec3d09a408682d0b29c6f57247552d5a9e6ca1925c112ace9fafc71af", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0974f2dbb9d161832266b5bb65c8b24b0eb70211f5352adef7898d4ac5e13bf6fa0b7b6129ec3d09a408682d0b29c6f57247552d5a9e6ca1925c112ace9fafc71afa0ba9270f35914f4b71a9c08d0c7fad075e68cec410f66a9961f13eab1a98d4a98b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a510008301f5f58203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f880f87e800183e4e1c08001b26000602280601060003960006000f50064f34578907f6000526020600060256000600060046101f4f16002556000516000551ba00405c34f9eae32d5c1cf3590bc4cb9dbe56b52393b522666ff5ebc61da6de1cba049d27ea3332b53df57a4f3d1f723cd0b972ee6bd99a28ddb61b9dac395acf510c0", + "transactions" : [ + { + "data" : "0x6000602280601060003960006000f50064f34578907f6000526020600060256000600060046101f4f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x0405c34f9eae32d5c1cf3590bc4cb9dbe56b52393b522666ff5ebc61da6de1cb", + "s" : "0x49d27ea3332b53df57a4f3d1f723cd0b972ee6bd99a28ddb61b9dac395acf510", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x53ed00c3e7828aa3ef9818997d6e92f1920f5818fa9f635c0ffee4c762e81f5c", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62df5f5", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x5ae48e644ae2492763d3823aed8ae0e97170579a" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xf34578907f", + "0x02" : "0x01" + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7620a0a", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0.json new file mode 100644 index 000000000..d464fa1d7 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0.json @@ -0,0 +1,140 @@ +{ + "create2callPrecompiles_d4g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0Filler.json", + "sourceHash" : "ba30b803207b61e920754961d109f5b943b4074bedda06f41951c0cf715b0e93" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x0240c5", + "hash" : "0x5f37eaa9324b046f30f580af5cd982bd67bcd22f9587c55a9147de5f139d9ab1", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0xdbe26fb296cf433834915bf34cc299f003579e9e8e51a7e9e9c20f8b8396559c", + "stateRoot" : "0x61291ab9b933827c08cab3c0f6d6a9c421326ae32c69d56b2a0171a5c06cdda1", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xadc5a73163143e809579b4e1f090c6a7a9819f4720fb84b2a08126cc176837c3", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf902f3f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa061291ab9b933827c08cab3c0f6d6a9c421326ae32c69d56b2a0171a5c06cdda1a0adc5a73163143e809579b4e1f090c6a7a9819f4720fb84b2a08126cc176837c3a0dbe26fb296cf433834915bf34cc299f003579e9e8e51a7e9e9c20f8b8396559cb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a51000830240c58203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f8f3f8f1800183e4e1c08001b8a46000609480601060003960006000f5006001600052602060205260206040527f03fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6060527f2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6080527f2f0000000000000000000000000000000000000000000000000000000000000060965260206103e860976000600060055af26001556103e8516002551ba0b6a58409784fed7ece09688a42f1ab9cb12fc693dae8da1a4816d86079d29814a044c26c882ea5f57cc885ad395c08f5bbb9801420c191676c5374b58fa2ba6039c0", + "transactions" : [ + { + "data" : "0x6000609480601060003960006000f5006001600052602060205260206040527f03fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6060527f2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6080527f2f0000000000000000000000000000000000000000000000000000000000000060965260206103e860976000600060055af26001556103e851600255", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xb6a58409784fed7ece09688a42f1ab9cb12fc693dae8da1a4816d86079d29814", + "s" : "0x44c26c882ea5f57cc885ad395c08f5bbb9801420c191676c5374b58fa2ba6039", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x5f37eaa9324b046f30f580af5cd982bd67bcd22f9587c55a9147de5f139d9ab1", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62e40c5", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a761bf3a", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xfac8686b4109f50513df031ec5abda59a0854ee0" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x01" : "0x01", + "0x02" : "0x162ead82cadefaeaf6e9283248fdf2f2845f6396f6f17c4d5a39f820b6f6b5f9" + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0.json new file mode 100644 index 000000000..7707c2cc2 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0.json @@ -0,0 +1,139 @@ +{ + "create2callPrecompiles_d5g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0Filler.json", + "sourceHash" : "da9197ba6df6c002412930a02d24d83e261a45676ec7eab22aa28ba566565a31" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x0acf8c", + "hash" : "0xc05d29ea163c4f4d4c54d8df15848460b2dca928fef63b1c31f36471719f9d8c", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0x4ade591ab42d00fe0a487245c5f4175d79a44782645455fd0a51c769deac7a40", + "stateRoot" : "0xdb2005c343b0763721ff2b6cc7c09c40bba59dcddd591ec3dd2225bce7ed568a", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x810070fa9b792e23c2f9d3414e6f97de75550fe2cca6bfb4ffcb8b1fa5c966d3", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf9027ef901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0db2005c343b0763721ff2b6cc7c09c40bba59dcddd591ec3dd2225bce7ed568aa0810070fa9b792e23c2f9d3414e6f97de75550fe2cca6bfb4ffcb8b1fa5c966d3a04ade591ab42d00fe0a487245c5f4175d79a44782645455fd0a51c769deac7a40b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a51000830acf8c8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f87ef87c800183e4e1c08001b06000602080601060003960006000f500600160005260206000610100600060006006620927c0f16002556000516000551ca03eddd98b531e309f75a2a9a0f41f80856d19ebfaf8d95e10a69541095ace6efba03058e97ec000b8ae8769c1682b70396ba40747e953c656b19cac584272c4f267c0", + "transactions" : [ + { + "data" : "0x6000602080601060003960006000f500600160005260206000610100600060006006620927c0f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3eddd98b531e309f75a2a9a0f41f80856d19ebfaf8d95e10a69541095ace6efb", + "s" : "0x3058e97ec000b8ae8769c1682b70396ba40747e953c656b19cac584272c4f267", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xc05d29ea163c4f4d4c54d8df15848460b2dca928fef63b1c31f36471719f9d8c", + "network" : "Constantinople", + "postState" : { + "0x1b2dbc94a4e3133ece76551789cc87653a16c275" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af636cf8c", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7593073", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0.json new file mode 100644 index 000000000..e3b8602bd --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0.json @@ -0,0 +1,141 @@ +{ + "create2callPrecompiles_d6g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0Filler.json", + "sourceHash" : "a69816bbabf7ea3c3960d1295056f6a209ed1179395e40afcda981cd90053084" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x02701a", + "hash" : "0xf5eab1e27bae23932c642a8281226b17919f3123499bc3b5594128827a46516f", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0x208067056deac70b80ea9cd1ff16d55e21992236521d4ffb65622df435bb7ed8", + "stateRoot" : "0x1372b17f592db0c9cb98cc9bce89b453dec4b4112ad5e02c6b82a8f77bd721c9", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xf440a7fdf18ffc8468b68761b51aefd5fe210d8ec20317e0e4d82f784e644869", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90315f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa01372b17f592db0c9cb98cc9bce89b453dec4b4112ad5e02c6b82a8f77bd721c9a0f440a7fdf18ffc8468b68761b51aefd5fe210d8ec20317e0e4d82f784e644869a0208067056deac70b80ea9cd1ff16d55e21992236521d4ffb65622df435bb7ed8b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a510008302701a8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f90114f90111800183e4e1c08001b8c4600060b480601060003960006000f5007f0f25929bcb43d5a57391564615c9e70a992b10eafa4db109709649cf48c50dd26000527f16da2f5cb6be7a0aa72c440c53c9bbdfec6c36c7d515536431b3a865468acbba6020527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866040527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d46060526000600060806000600073addf5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f21ba0dc0c3d1799a5c13259f407dd78f62c90c7380482c890c0055a4da9e6ecf73658a03378e36523f8c246405a00b3c73ebbd347c606f0f5068e1c38d9ec54daff60a7c0", + "transactions" : [ + { + "data" : "0x600060b480601060003960006000f5007f0f25929bcb43d5a57391564615c9e70a992b10eafa4db109709649cf48c50dd26000527f16da2f5cb6be7a0aa72c440c53c9bbdfec6c36c7d515536431b3a865468acbba6020527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866040527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d46060526000600060806000600073addf5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xdc0c3d1799a5c13259f407dd78f62c90c7380482c890c0055a4da9e6ecf73658", + "s" : "0x3378e36523f8c246405a00b3c73ebbd347c606f0f5068e1c38d9ec54daff60a7", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xf5eab1e27bae23932c642a8281226b17919f3123499bc3b5594128827a46516f", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62e701a", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0x67a30f33af12014ba8cba40e0c6ff01c87595fef" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", + "0x02" : "0x018683193ae021a2f8920fed186cde5d9b1365116865281ccf884c1f28b1df8f" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7618fe5", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0.json new file mode 100644 index 000000000..a93ac0165 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0.json @@ -0,0 +1,146 @@ +{ + "create2callPrecompiles_d7g0v0_Constantinople" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0Filler.json", + "sourceHash" : "85920ce15cf8d85dc82a269c14b8ea3637cfddbc9ea1eabfeafa669499429a81" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x049cb4", + "hash" : "0x0631de4c9f8ccb1a7b80d43239c401663a36823863d3161e430ec7cceb4b315b", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "receiptTrie" : "0xa189d3ce84a83a916fca1e4d28f0bf499fd96045ec6e83b8c04bacbb96a432af", + "stateRoot" : "0xfe9a01655cdb92cbbc1bfff8a8d61f4ce553f7fc933856a6059c1b85a14cc80a", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xe040ab863136643aee95c7fdcfc57145ed1e169c4e9f70068970fe6b60cde098", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90324f901faa08a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0fe9a01655cdb92cbbc1bfff8a8d61f4ce553f7fc933856a6059c1b85a14cc80aa0e040ab863136643aee95c7fdcfc57145ed1e169c4e9f70068970fe6b60cde098a0a189d3ce84a83a916fca1e4d28f0bf499fd96045ec6e83b8c04bacbb96a432afb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200000185e8d4a5100083049cb48203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f90123f90120800183e4e1c08001b8d3600060c380601060003960006000f5007f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866000527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4602052600060405260006060527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866080527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d460a052600160c0526000600060e06000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f21ca0e8442cc61d492cb594b0edd3cdf1768267897931a2fd5ac1f0d1de69faa4b7e2a019b5bd7da89440296c797ce858b71317445cc801785327844380086b0c9d55c4c0", + "transactions" : [ + { + "data" : "0x600060c380601060003960006000f5007f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866000527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4602052600060405260006060527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866080527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d460a052600160c0526000600060e06000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xe8442cc61d492cb594b0edd3cdf1768267897931a2fd5ac1f0d1de69faa4b7e2", + "s" : "0x19b5bd7da89440296c797ce858b71317445cc801785327844380086b0c9d55c4", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0x00", + "hash" : "0x8a27153c40df6440e0894704e6a5913e3b582e10ab4d2ab098e7117501ce8952", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ebe19d9ffdbcc310e3955bf97df6e366a47e5e5c8ac8697fcaf0719b3d55a701a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000830200008085e8d4a51000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x0631de4c9f8ccb1a7b80d43239c401663a36823863d3161e430ec7cceb4b315b", + "network" : "Constantinople", + "postState" : { + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af6309cb4", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a75f634b", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + }, + "0xeb2f39936de0b822aace8898ccfac1cbe7690b71" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x02" : "0x01", + "0x03" : "0x01", + "0x0a" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", + "0x0b" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4", + "0x14" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", + "0x15" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4" + } + } + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/create2callPrecompiles.json b/GeneralStateTests/stCreate2/create2callPrecompiles.json new file mode 100644 index 000000000..db7c2090b --- /dev/null +++ b/GeneralStateTests/stCreate2/create2callPrecompiles.json @@ -0,0 +1,140 @@ +{ + "create2callPrecompiles" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract ", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/create2callPrecompilesFiller.json", + "sourceHash" : "5584b3dbd0b425d29d210f785e7fe0c9ae499798ee2ba758601ec873bd32f05d" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0xe8d4a51000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x1b5fd9f213ec0c3f6cd58baf2d27ef39bcebd12f6f6b2ea7dd81a98e93384b06", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xe20d2781ed9250f4fdacf0bfc4fc1fcf42e8e8caf14fb54626d52a8c0bfc2e97", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb34cd31786a752bbc39e0861428cc85af15b8a43dbb337fc8a03e55de0e92238", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x67c83aae824542c83a12f8fdadff6345bb3b4f98f25536b2f31666ec7f040868", + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1030d8533ac7cc413b6b8401f7d49069fc9776b2dc07780ac8ce7b5d88b46742", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xe3b62e80cb2aabd489cd4203db174ff5ac6d91e11f1cbf52be8b29b47ddc5b4c", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc90391e3cc0bbe86e6909f84a30c985a1ab06a841cbb98d675220730b7595fa7", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xe8c0d12d1cd2b189b0336173228be5001fad9b473827e721341a23362c4c045f", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x6000609980601060003960006000f5007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155", + "0x6000602280601060003960006000f50064f34578907f6005526020600060256000600060026101f4f1600255600051600055", + "0x6000601980601060003960006000f500602060006000600060006003610258f1600255600051600055", + "0x6000602280601060003960006000f50064f34578907f6000526020600060256000600060046101f4f1600255600051600055", + "0x6000609480601060003960006000f5006001600052602060205260206040527f03fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6060527f2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6080527f2f0000000000000000000000000000000000000000000000000000000000000060965260206103e860976000600060055af26001556103e851600255", + "0x6000602080601060003960006000f500600160005260206000610100600060006006620927c0f1600255600051600055", + "0x600060b480601060003960006000f5007f0f25929bcb43d5a57391564615c9e70a992b10eafa4db109709649cf48c50dd26000527f16da2f5cb6be7a0aa72c440c53c9bbdfec6c36c7d515536431b3a865468acbba6020527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866040527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d46060526000600060806000600073addf5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2", + "0x600060c380601060003960006000f5007f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866000527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4602052600060405260006060527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866080527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d460a052600160c0526000600060e06000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2" + ], + "gasLimit" : [ + "0xe4e1c0" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x01" + ] + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json new file mode 100644 index 000000000..da674fc02 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json @@ -0,0 +1,90 @@ +{ + "create2callPrecompiles_d0g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000609980601060003960006000f5007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x8508fd37c79f31f0a7139e933173385a13e567ef4de4546d39d2e4f16bfefbb7", + "s" : "0x3c0f160f119ddcd5aab7241b810029c4c6d14ed884e0d75c2bffb392665c66b8", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xbf9998f0939b248f69a518dce4934ab1a86a31d3" : { + "storage" : { + "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x01" : "0x01", + "0x02" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0Filler.json new file mode 100644 index 000000000..ad4912887 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d1g0v0Filler.json @@ -0,0 +1,89 @@ +{ + "create2callPrecompiles_d1g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000602280601060003960006000f50064f34578907f6005526020600060256000600060026101f4f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xee2c4e015789ed4fa4c5fe1c68bce2b99284b7a09ce1479cc9a7d31e2954b061", + "s" : "0x1ac64e08c6962339a9f9320a6fc5e3f99eaefe8a29020ce153063cf6bcc3bb65", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x9c06286277651156d55c61e5cc2b3d1ad90e3a46" : { + "storage" : { + "0x00" : "0xcb39b3bde22925b2f931111130c774761d8895e0e08437c9b396c1e97d10f34d", + "0x02" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0Filler.json new file mode 100644 index 000000000..1ba8c1ba7 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d2g0v0Filler.json @@ -0,0 +1,89 @@ +{ + "create2callPrecompiles_d2g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000601980601060003960006000f500602060006000600060006003610258f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xc99aa7f19224a9f7013d5051a471dfd2844be2c880f7a9026d891591a6a66135", + "s" : "0x28bf69ad2a9c4a29080a92386d690f5061502a1e78c07774f3c246b2b9d47db4", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x9570ffa061841f4bda1956f7917da64403416207" : { + "storage" : { + "0x00" : "0x9c1185a5c5e9fc54612808977ee8f548b2258d31", + "0x02" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0Filler.json new file mode 100644 index 000000000..be8f096c4 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d3g0v0Filler.json @@ -0,0 +1,89 @@ +{ + "create2callPrecompiles_d3g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000602280601060003960006000f50064f34578907f6000526020600060256000600060046101f4f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x0405c34f9eae32d5c1cf3590bc4cb9dbe56b52393b522666ff5ebc61da6de1cb", + "s" : "0x49d27ea3332b53df57a4f3d1f723cd0b972ee6bd99a28ddb61b9dac395acf510", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x5ae48e644ae2492763d3823aed8ae0e97170579a" : { + "storage" : { + "0x00" : "0xf34578907f", + "0x02" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0Filler.json new file mode 100644 index 000000000..a5e387a21 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d4g0v0Filler.json @@ -0,0 +1,89 @@ +{ + "create2callPrecompiles_d4g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000609480601060003960006000f5006001600052602060205260206040527f03fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6060527f2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6080527f2f0000000000000000000000000000000000000000000000000000000000000060965260206103e860976000600060055af26001556103e851600255", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xb6a58409784fed7ece09688a42f1ab9cb12fc693dae8da1a4816d86079d29814", + "s" : "0x44c26c882ea5f57cc885ad395c08f5bbb9801420c191676c5374b58fa2ba6039", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xfac8686b4109f50513df031ec5abda59a0854ee0" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x162ead82cadefaeaf6e9283248fdf2f2845f6396f6f17c4d5a39f820b6f6b5f9" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0Filler.json new file mode 100644 index 000000000..e57558687 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d5g0v0Filler.json @@ -0,0 +1,88 @@ +{ + "create2callPrecompiles_d5g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000602080601060003960006000f500600160005260206000610100600060006006620927c0f1600255600051600055", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3eddd98b531e309f75a2a9a0f41f80856d19ebfaf8d95e10a69541095ace6efb", + "s" : "0x3058e97ec000b8ae8769c1682b70396ba40747e953c656b19cac584272c4f267", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1b2dbc94a4e3133ece76551789cc87653a16c275" : { + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0Filler.json new file mode 100644 index 000000000..a0eca039e --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d6g0v0Filler.json @@ -0,0 +1,90 @@ +{ + "create2callPrecompiles_d6g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x600060b480601060003960006000f5007f0f25929bcb43d5a57391564615c9e70a992b10eafa4db109709649cf48c50dd26000527f16da2f5cb6be7a0aa72c440c53c9bbdfec6c36c7d515536431b3a865468acbba6020527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866040527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d46060526000600060806000600073addf5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xdc0c3d1799a5c13259f407dd78f62c90c7380482c890c0055a4da9e6ecf73658", + "s" : "0x3378e36523f8c246405a00b3c73ebbd347c606f0f5068e1c38d9ec54daff60a7", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x67a30f33af12014ba8cba40e0c6ff01c87595fef" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", + "0x02" : "0x018683193ae021a2f8920fed186cde5d9b1365116865281ccf884c1f28b1df8f" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0Filler.json new file mode 100644 index 000000000..c06c2708f --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d7g0v0Filler.json @@ -0,0 +1,95 @@ +{ + "create2callPrecompiles_d7g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x600060c380601060003960006000f5007f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866000527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4602052600060405260006060527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866080527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d460a052600160c0526000600060e06000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xe8442cc61d492cb594b0edd3cdf1768267897931a2fd5ac1f0d1de69faa4b7e2", + "s" : "0x19b5bd7da89440296c797ce858b71317445cc801785327844380086b0c9d55c4", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xeb2f39936de0b822aace8898ccfac1cbe7690b71" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x02" : "0x01", + "0x03" : "0x01", + "0x0a" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", + "0x0b" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4", + "0x14" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", + "0x15" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stCreate2/create2callPrecompilesFiller.json b/src/GeneralStateTestsFiller/stCreate2/create2callPrecompilesFiller.json new file mode 100644 index 000000000..a10ebd090 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/create2callPrecompilesFiller.json @@ -0,0 +1,233 @@ +{ + "create2callPrecompiles" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "1000000000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "bf9998f0939b248f69a518dce4934ab1a86a31d3" : { + "storage" : { + "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x01" : "0x01", + "0x02" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "9c06286277651156d55c61e5cc2b3d1ad90e3a46" : { + "storage" : { + "0x00" : "0xcb39b3bde22925b2f931111130c774761d8895e0e08437c9b396c1e97d10f34d", + "0x02" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 2, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "9570ffa061841f4bda1956f7917da64403416207" : { + "storage" : { + "0x00" : "0x9c1185a5c5e9fc54612808977ee8f548b2258d31", + "0x02" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 3, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "5ae48e644ae2492763d3823aed8ae0e97170579a" : { + "storage" : { + "0x00" : "0xf34578907f", + "0x02" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 4, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "fac8686b4109f50513df031ec5abda59a0854ee0" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x162ead82cadefaeaf6e9283248fdf2f2845f6396f6f17c4d5a39f820b6f6b5f9" + } + } + } + }, + { + "indexes" : { + "data" : 5, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "1b2dbc94a4e3133ece76551789cc87653a16c275" : { + "storage" : { + "0x00" : "0x01", + "0x02" : "0x00" + } + } + } + }, + { + "indexes" : { + "data" : 6, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "67a30f33af12014ba8cba40e0c6ff01c87595fef" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x1f4d1d80177b1377743d1901f70d7389be7f7a35a35bfd234a8aaee615b88c49", + "0x02" : "0x018683193ae021a2f8920fed186cde5d9b1365116865281ccf884c1f28b1df8f" + } + } + } + }, + { + "indexes" : { + "data" : 7, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "eb2f39936de0b822aace8898ccfac1cbe7690b71" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x02" : "0x01", + "0x03" : "0x01", + "0x0a" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", + "0x0b" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4", + "0x14" : "0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286", + "0x15" : "0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4" + } + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "addf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "", + "code" : "{(MSTORE 0 (CALLDATALOAD 0)) (MSTORE 32 (CALLDATALOAD 32)) (MSTORE 64 (CALLDATALOAD 64)) (MSTORE 96 (CALLDATALOAD 96)) [[0]](CALLCODE 500000 6 0 0 128 200 64) [[1]] (MLOAD 200) [[2]] (MLOAD 232) }", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "", + "//code" : "ECMUl ChecK", + "code" : "{(MSTORE 0 (CALLDATALOAD 0)) (MSTORE 32 (CALLDATALOAD 32)) (MSTORE 64 (CALLDATALOAD 64)) (MSTORE 96 (CALLDATALOAD 96)) (MSTORE 128 (CALLDATALOAD 128)) (MSTORE 160 (CALLDATALOAD 160)) (MSTORE 192 (CALLDATALOAD 192)) [[0]](CALLCODE 500000 6 0 0 128 300 64) [[1]](CALLCODE 500000 7 0 128 96 400 64) [[10]] (MLOAD 300) [[11]] (MLOAD 332) [[20]] (MLOAD 400) [[21]] (MLOAD 432) [[2]] (EQ (SLOAD 10) (SLOAD 20)) [[3]] (EQ (SLOAD 11) (SLOAD 21))}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0 - call ecrevocer (1) from init code of create2", + "1 - call sha256 (2) from init code of create2", + "2 - call REMPID160", + "3 - call Identity", + "4 - call Modexp", + "5 - call paring", + "6 - call addition on ec", + "7 - call ecmul" + ], + "data" : [ + "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0x18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c) (MSTORE 32 28) (MSTORE 64 0x73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f) (MSTORE 96 0xeeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549) [[ 2 ]] (CALL 300000 1 0 0 128 128 32) [[ 0 ]] (MOD (MLOAD 128) (EXP 2 160)) [[ 1 ]] (EQ (ORIGIN) (SLOAD 0)) ) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq (MSTORE 5 0xf34578907f) [[ 2 ]] (CALL 500 2 0 0 37 0 32) [[ 0 ]] (MLOAD 0) ) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq [[ 2 ]] (CALL 600 3 0 0 0 0 32) [[ 0 ]] (MLOAD 0) ) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0xf34578907f) [[ 2 ]] (CALL 500 4 0 0 37 0 32) [[ 0 ]] (MLOAD 0) ) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000001) (MSTORE 32 0x0000000000000000000000000000000000000000000000000000000000000020) (MSTORE 64 0x0000000000000000000000000000000000000000000000000000000000000020) (MSTORE 96 0x03fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc) (MSTORE 128 0x2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc) (MSTORE 150 0x2f00000000000000000000000000000000000000000000000000000000000000)[[ 1 ]] (CALLCODE (GAS) 5 0 0 151 1000 32) [[ 2 ]](MLOAD 1000) ) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000001) [[ 2 ]](CALL 600000 6 0 0 256 0 32) [[ 0 ]] (MLOAD 0) ) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0x0f25929bcb43d5a57391564615c9e70a992b10eafa4db109709649cf48c50dd2) (MSTORE 32 0x16da2f5cb6be7a0aa72c440c53c9bbdfec6c36c7d515536431b3a865468acbba) (MSTORE 64 0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286) (MSTORE 96 0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4) (CALLCODE 500000 0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 128 0 0)) 0) 0) }", + "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286) (MSTORE 32 0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4) (MSTORE 64 0x0000000000000000000000000000000000000000000000000000000000000000) (MSTORE 96 0x0000000000000000000000000000000000000000000000000000000000000000) (MSTORE 128 0x1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc286) (MSTORE 160 0x0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4 ) (MSTORE 192 0x0000000000000000000000000000000000000000000000000000000000000001) (CALLCODE 500000 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 224 0 0) ) 0) 0) }" + ], + "gasLimit" : [ + "15000000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "1" + ] + } + } +} |