diff options
author | Gav Wood <i@gavwood.com> | 2014-02-24 18:24:39 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-02-24 18:24:39 +0800 |
commit | c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12 (patch) | |
tree | 8c0493ee1ea1450eabe0a481f2322824c07884c4 | |
parent | 510ff563639e71224306d9af0e50a28a9d624b8f (diff) | |
download | dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.tar dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.tar.gz dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.tar.bz2 dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.tar.lz dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.tar.xz dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.tar.zst dexon-c006ed4ffd7d00124dbcb44d4e7ca05d6d9ddc12.zip |
Tests fix.
-rw-r--r-- | vmtests.json | 180 |
1 files changed, 176 insertions, 4 deletions
diff --git a/vmtests.json b/vmtests.json index e344c7af8..a9cbf1786 100644 --- a/vmtests.json +++ b/vmtests.json @@ -1,5 +1,5 @@ { - "mktx" : { + "fan" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "256", @@ -12,6 +12,8 @@ { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "data" : [ + "0xcd1722f3947def4cf144679da39c4c32bdc35681", + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" ], "sender" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : 1000000000000000000 @@ -19,14 +21,183 @@ ], "post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : 999999999999999900, + "balance" : "115792089237316195423570985008687907853269984665640564039456684007913129639415", + "extroPrice" : 0, + "nonce" : 2, + "store" : { + "0" : [ + 48, + 8, + 48, + 100000000000000000, + 18, + 12, + 57, + 0, + 19, + 48, + 100000000000000000, + 18, + 3, + 4, + 48, + "53545048851664692004060005546177757518248266694338929000325674008596820525056", + 55, + 48, + 0, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 55, + 48, + 53, + 19, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 54, + 10, + 15, + 57, + 48, + 0, + 48, + "53545048851664692004060005546177757518248266694338929000325674008596820525056", + 54, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 54, + 20, + 61, + 48, + 1, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 54, + 1, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 55, + 48, + 22, + 56, + 0 + ], + "47492849101242970779199036819969649705442767148016637594308774690745619578880" : [ + 2 + ], + "53545048851664692004060005546177757518248266694338929000325674008596820525056" : [ + 450000000000000000 + ] + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : 0, "extroPrice" : 0, "nonce" : 0, "store" : { "0" : [ 48, + 8, + 48, + 100000000000000000, + 18, + 12, + 57, 0, + 19, + 48, + 100000000000000000, 18, + 3, + 4, + 48, + "53545048851664692004060005546177757518248266694338929000325674008596820525056", + 55, + 48, + 0, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 55, + 48, + 53, + 19, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 54, + 10, + 15, + 57, + 48, + 0, + 48, + "53545048851664692004060005546177757518248266694338929000325674008596820525056", + 54, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 54, + 20, + 61, + 48, + 1, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 54, + 1, + 48, + "47492849101242970779199036819969649705442767148016637594308774690745619578880", + 55, + 48, + 22, + 56 + ] + } + } + }, + "txs" : [ + { + "data" : [ + ], + "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : 450000000000000000 + }, + { + "data" : [ + ], + "destination" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "value" : 450000000000000000 + } + ] + }, + "mktx" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentTimestamp" : 1, + "feeMultiplier" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "previousNonce" : "9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae" + }, + "exec" : [ + { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "data" : [ + ], + "sender" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : 1000000000000000000 + } + ], + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : 499999999999999900, + "extroPrice" : 0, + "nonce" : 1, + "store" : { + "0" : [ + 48, + 0, + 48, + 500000000000000000, 17, 61, 0 @@ -43,7 +214,8 @@ "0" : [ 48, 0, - 18, + 48, + 500000000000000000, 17, 61 ] @@ -55,7 +227,7 @@ "data" : [ ], "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : 1000000000000000000 + "value" : 500000000000000000 } ] }, |