diff options
author | Dimitry <dimitry@ethdev.com> | 2016-12-05 19:12:05 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2016-12-05 19:12:05 +0800 |
commit | e2a69159c863d810a368eda8aa417290d95dc52e (patch) | |
tree | 75da52555f6c077fdf580b24bcd8268c968da62e /src/GeneralStateTestsFiller/stRandom/randomStatetest1Filler.json | |
parent | 35cfcf16190fc3e56ee11ead23452c633e2fca28 (diff) | |
download | dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.tar dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.tar.gz dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.tar.bz2 dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.tar.lz dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.tar.xz dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.tar.zst dexon-tests-e2a69159c863d810a368eda8aa417290d95dc52e.zip |
Test Fillers (Sources for the tests)
Diffstat (limited to 'src/GeneralStateTestsFiller/stRandom/randomStatetest1Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stRandom/randomStatetest1Filler.json | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRandom/randomStatetest1Filler.json b/src/GeneralStateTestsFiller/stRandom/randomStatetest1Filler.json new file mode 100644 index 000000000..6e26df591 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRandom/randomStatetest1Filler.json @@ -0,0 +1,87 @@ +{ + "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" : "1000000000000100000", + "code" : "0x454543414341444259f2", + "nonce" : "0", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "30172", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999869874", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + } + } + } + ], + "logs" : [ + ], + "out" : "0x", + "postStateRoot" : "6584ed53fe381f4c404bd2e099d04bd116514348471c66309a9a0e6f419b0b18", + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "0x454543414341444259f2", + "nonce" : "0", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "46", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x42" + ], + "gasLimit" : [ + "400000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "100000" + ] + } + } +}
\ No newline at end of file |