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) --- .../stRandom/randomStatetest90Filler.json | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stRandom/randomStatetest90Filler.json (limited to 'src/GeneralStateTestsFiller/stRandom/randomStatetest90Filler.json') diff --git a/src/GeneralStateTestsFiller/stRandom/randomStatetest90Filler.json b/src/GeneralStateTestsFiller/stRandom/randomStatetest90Filler.json new file mode 100644 index 000000000..a01f0a614 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRandom/randomStatetest90Filler.json @@ -0,0 +1,88 @@ +{ + "randomStatetest" : { + "env" : { + "currentCoinbase" : "945304eb96065b2a98b57a48a06ae28d285a71b5", + "currentDifficulty" : "5623894562375", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : "Frontier", + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "168858958", + "code" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff45157f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000016f116b4177f25178d7048212877e95685560005155", + "nonce" : "0", + "storage" : { + "0x" : "0x116b4177f25178d7048212877e956855" + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "47577", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999831093511", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + } + } + } + ], + "logs" : [ + ], + "out" : "0x", + "postStateRoot" : "a2351c62118ac47b8bceaaeb770eb2cbedf263154bafe7d6bf92f4d621ad9908", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0", + "code" : "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff45157f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000016f116b4177f25178d7048212877e95685560005155", + "nonce" : "0", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "46", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x7f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff45157f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f000000000000000000000000ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000016f116b4177f25178d7048212877e9568" + ], + "gasLimit" : [ + "0x03bbb681" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "168858958" + ] + } + } +} \ No newline at end of file -- cgit