From e4433658bd7521066a49fd3bf1d8c86e61e393a7 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 28 Aug 2018 17:14:59 +0300 Subject: create2 init code tests --- .../stCreate2/create2InitCodes_d0g0v0Filler.json | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2InitCodes_d0g0v0Filler.json (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2InitCodes_d0g0v0Filler.json') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2InitCodes_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2InitCodes_d0g0v0Filler.json new file mode 100644 index 000000000..ad82cee30 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2InitCodes_d0g0v0Filler.json @@ -0,0 +1,74 @@ +{ + "create2InitCodes_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x60006000536000600160006000f5600055", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x66901b91cf0cfeb0b45e3a30356c18d7dd422b6d9d97fd5a1c86524d708f2d79", + "s" : "0x4686b46423050bbfaa81ac00f7b77d7658cb827a91a6f3682310ccdc78dc6701", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "storage" : { + "0x00" : "0x9ccb06046c674d1a423c968d7998235bc33d40c1" + } + }, + "0x9ccb06046c674d1a423c968d7998235bc33d40c1" : { + "nonce" : "0x01" + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "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" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit