diff options
Merge pull request #502 from ethereum/create2
create2 check fields in init code
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json')
-rw-r--r-- | src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json new file mode 100644 index 000000000..52ee175e8 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json @@ -0,0 +1,157 @@ +{ + "create2checkFieldsInInitcode_d6g0v0" : { + "_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." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000003300000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xfce90638764ad2b680c02215d769d8e4e69a9baf0afb01b32ead5b1ca78d1c84", + "s" : "0x0ef37921579a2f574b5b517099813c1d007ff0c425b2baa3aa30d6bb80a61163", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad" : { + "balance" : "0x00", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xab166837a8bc12757f73555d296f726df214cd4c", + "0x06" : "0x21", + "0x07" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "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 |