From 827fec4bc47db888b0f50aa8251f2987f42fd1e8 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Sat, 8 Sep 2018 18:54:53 +0300 Subject: more create2 tests --- .../create2checkFieldsInInitcode_d6g0v0.json | 269 +++++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json (limited to 'BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json') diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json new file mode 100644 index 000000000..eb89dec0f --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json @@ -0,0 +1,269 @@ +{ + "create2checkFieldsInInitcode_d6g0v0_Constantinople" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", + "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/create2checkFieldsInInitcode_d6g0v0Filler.json", + "sourceHash" : "4c9d634c9e018bcff075dd69c40ed1741bdbc1ccb7ccbec1ec21eeea8d1cd7b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x02dd5a", + "hash" : "0x85059afd9565e663000c2cde76cfbae0a8b5782ae8e289a28f443a1aad116293", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "receiptTrie" : "0x1b155915d7eb5e31bed7d4cd08ad276a9ca58dc3011128559bfde8ead423c05c", + "stateRoot" : "0xf59d3316c335a7a89868e3490f333441786798e242f7de25bb242f47e183130d", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x5ee97388b63308bcd575af671f2096a7d8cdebf76f96e92f724060f0b8ee4302", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f59d3316c335a7a89868e3490f333441786798e242f7de25bb242f47e183130da05ee97388b63308bcd575af671f2096a7d8cdebf76f96e92f724060f0b8ee4302a01b155915d7eb5e31bed7d4cd08ad276a9ca58dc3011128559bfde8ead423c05cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302dd5a8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000033000000000000000000000000000000000000001ca0fce90638764ad2b680c02215d769d8e4e69a9baf0afb01b32ead5b1ca78d1c84a00ef37921579a2f574b5b517099813c1d007ff0c425b2baa3aa30d6bb80a61163c0", + "transactions" : [ + { + "data" : "0x0000000000000000000000003300000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xfce90638764ad2b680c02215d769d8e4e69a9baf0afb01b32ead5b1ca78d1c84", + "s" : "0x0ef37921579a2f574b5b517099813c1d007ff0c425b2baa3aa30d6bb80a61163", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x85059afd9565e663000c2cde76cfbae0a8b5782ae8e289a28f443a1aad116293", + "network" : "Constantinople", + "postState" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62edd5a", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x01", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a76122a6", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xab166837a8bc12757f73555d296f726df214cd4c" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xab166837a8bc12757f73555d296f726df214cd4c", + "0x06" : "0x21", + "0x07" : "0x01" + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit v1.2.3