From e2a69159c863d810a368eda8aa417290d95dc52e Mon Sep 17 00:00:00 2001 From: Dimitry Date: Mon, 5 Dec 2016 15:12:05 +0400 Subject: Test Fillers (Sources for the tests) --- .../ContractStoreClearsOOGFiller.json | 82 ++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json (limited to 'src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json') diff --git a/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json new file mode 100644 index 000000000..9f38b9f31 --- /dev/null +++ b/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json @@ -0,0 +1,82 @@ +{ + "ContractStoreClearsOOG" : { + "env" : { + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "45678256", + "currentGasLimit" : "100000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + }, + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "30000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "d2571607e241ecf590ed94b12d87c94babe36db6" : { + "balance" : "0", + "code" : "{(SSTORE 0 0)(SSTORE 1 0)(SSTORE 2 0)(SSTORE 3 0)(SSTORE 4 0)(SSTORE 5 0)(SSTORE 6 0)(SSTORE 7 0)(SSTORE 8 0)(SSTORE 9 12)}", + "nonce" : "0", + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "23000" + ], + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "d2571607e241ecf590ed94b12d87c94babe36db6", + "value" : [ + "10" + ] + } + } +} \ No newline at end of file -- cgit