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_d7g0v0.json | 257 +++++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json (limited to 'BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json') diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json new file mode 100644 index 000000000..ef76030d8 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json @@ -0,0 +1,257 @@ +{ + "create2checkFieldsInInitcode_d7g0v0_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_d7g0v0Filler.json", + "sourceHash" : "7816e14403e7a00e3a760cb4cb31243453bb0a599500af10f466658be1f3d419" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x08c44d", + "hash" : "0x0bf7bca013bfb7c7635e8a624a4bc4b230ade694b620812fc919777ad4b745f4", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "receiptTrie" : "0x464dcc0421288e538d3a0d2f357edb650d76b7fe8083da6a94b16d6247255827", + "stateRoot" : "0x5d8655d5c4aba622c0d00fe28ccb3b198418278ff55a176fbb545fdc21bc2827", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x5d636df68c399376012432ec1af581b6ad8d0b6cd2fcff813e1348e425418c6d", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa05d8655d5c4aba622c0d00fe28ccb3b198418278ff55a176fbb545fdc21bc2827a05d636df68c399376012432ec1af581b6ad8d0b6cd2fcff813e1348e425418c6da0464dcc0421288e538d3a0d2f357edb650d76b7fe8083da6a94b16d6247255827b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408308c44d8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000044000000000000000000000000000000000000001ca09d85d3bb849518994bf2cb5edd3f4ab6b1a02e66ad943ffd800fd882e60804dba04c77bd04a8f386c7ecaaf7e24e67336e00401c2f46085a653a12679a328af9f7c0", + "transactions" : [ + { + "data" : "0x0000000000000000000000004400000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x9d85d3bb849518994bf2cb5edd3f4ab6b1a02e66ad943ffd800fd882e60804db", + "s" : "0x4c77bd04a8f386c7ecaaf7e24e67336e00401c2f46085a653a12679a328af9f7", + "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" : "0x0bf7bca013bfb7c7635e8a624a4bc4b230ade694b620812fc919777ad4b745f4", + "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" : "0x29a2241af634c44d", + "code" : "", + "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" : "0x01", + "storage" : { + } + }, + "0x79357dfe2de1925a280e4bdb9e0d75a01d3c2513" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a75b3bb3", + "code" : "", + "nonce" : "0x01", + "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" : { + } + } + }, + "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