From 2642ffe43c12ef8228c91f8d08f8a22a4f4dc5f8 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 13 Nov 2018 00:35:53 +0300 Subject: fill as blockchain sstore combinations --- ...tore_combinations_initial2_d1392g0v0Filler.json | 128 +++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_combinations_initial2_d1392g0v0Filler.json (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_combinations_initial2_d1392g0v0Filler.json') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_combinations_initial2_d1392g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_combinations_initial2_d1392g0v0Filler.json new file mode 100644 index 000000000..cbc165e37 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stSStoreTest/sstore_combinations_initial2_d1392g0v0Filler.json @@ -0,0 +1,128 @@ +{ + "sstore_combinations_initial2_d1392g0v0" : { + "_info" : { + "comment" : "sstore 2 -> {calltype} -> change to {0, 1, 2} |-> {calltype} -> {non, oog, revert} |-> {calltype} -> change to {0, 1, 2} |-> {non, oog, revert}" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x989680", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x610570606452600060006020600073b200000000000000000000000000000000000000620493e0f45060006000600060006000732000000000000000000000000000000000000000620493e0f250600060006020600073b200000000000000000000000000000000000000620493e0f4506000600060006000733000000000000000000000000000000000000000620493e0fa5060006000600060006000732000000000000000000000000000000000000000620927c0f1", + "gasLimit" : "0x1e8480", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x131ad314079ee5209bcea004b91a19b171d334bc00a88aa72a8c879ddf694972", + "s" : "0x660f60365c83f5b9caee8dce2e62fcb9b7af2892bc4dd9f88ec809ee0a556d5e", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x2000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01" + } + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x01" + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x989680", + "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" : "", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x02" : "0x01" + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60206000fd", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x02", + "0x01" : "0x02", + "0x02" : "0x02" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060005560016001556002600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060005560016001556002600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x02" : "0x01" + } + }, + "0xb200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060005560016001556002600255", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x02", + "0x01" : "0x02", + "0x02" : "0x02" + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit v1.2.3