diff options
author | Gav Wood <i@gavwood.com> | 2014-07-06 21:46:01 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-07-06 21:46:01 +0800 |
commit | a09aae0efe9a1cb94be3e0386532c532262956ec (patch) | |
tree | 289ffe823c2d84cc58d5309a35c0b863d3617a4c | |
parent | ec9a044a17779f0b3814bffa8c058b4091d6d13d (diff) | |
download | go-tangerine-a09aae0efe9a1cb94be3e0386532c532262956ec.tar.gz go-tangerine-a09aae0efe9a1cb94be3e0386532c532262956ec.tar.zst go-tangerine-a09aae0efe9a1cb94be3e0386532c532262956ec.zip |
Fix VM tests.
-rw-r--r-- | vmtests.json | 230 |
1 files changed, 203 insertions, 27 deletions
diff --git a/vmtests.json b/vmtests.json index 3404f2ab8..38550d112 100644 --- a/vmtests.json +++ b/vmtests.json @@ -1,29 +1,205 @@ { "arith" : { - "callcreates":[ {"data":[],"destination":"cd1722f3947def4cf144679da39c4c32bdc35681","gasLimit":200,"value":74}], - "env" : {"currentCoinbase":"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty":"256", - "currentGasLimit":"1000000", - "currentNumber":"0", - "currentTimestamp":1, - "previousHash":"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "caller":"cd1722f3947def4cf144679da39c4c32bdc35681", - "code":["0x6000600060006000604a3360c8f1"], - "data":[], - "gas":10000, - "gasPrice":100000000000000, - "origin":"cd1722f3947def4cf144679da39c4c32bdc35681", - "value":1000000000000000000 - }, - "gas":9773, - "out":[], - "post":{ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": - {"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}}, - "pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": - {"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}}, - + "callcreates" : [ + { + "data" : [ + ], + "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "gasLimit" : 9770, + "value" : 74 + } + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : [ + 96, + 0, + 96, + 0, + 96, + 0, + 96, + 0, + 96, + 2, + 96, + 2, + 96, + 8, + 3, + 3, + 96, + 2, + 96, + 3, + 6, + 96, + 2, + 96, + 2, + 4, + 96, + 4, + 96, + 4, + 96, + 4, + 2, + 2, + 96, + 2, + 96, + 2, + 1, + 1, + 1, + 1, + 1, + 51, + 96, + 200, + 92, + 3, + 241 + ], + "data" : [ + ], + "gas" : 10000, + "gasPrice" : 100000000000000, + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : 1000000000000000000 + }, + "gas" : 9949, + "out" : [ + ], + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : 999999999999999926, + "code" : [ + 96, + 0, + 96, + 0, + 96, + 0, + 96, + 0, + 96, + 2, + 96, + 2, + 96, + 8, + 3, + 3, + 96, + 2, + 96, + 3, + 6, + 96, + 2, + 96, + 2, + 4, + 96, + 4, + 96, + 4, + 96, + 4, + 2, + 2, + 96, + 2, + 96, + 2, + 1, + 1, + 1, + 1, + 1, + 51, + 96, + 200, + 92, + 3, + 241 + ], + "nonce" : 0, + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : 1000000000000000000, + "code" : [ + 96, + 0, + 96, + 0, + 96, + 0, + 96, + 0, + 96, + 2, + 96, + 2, + 96, + 8, + 3, + 3, + 96, + 2, + 96, + 3, + 6, + 96, + 2, + 96, + 2, + 4, + 96, + 4, + 96, + 4, + 96, + 4, + 2, + 2, + 96, + 2, + 96, + 2, + 1, + 1, + 1, + 1, + 1, + 51, + 96, + 200, + 92, + 3, + 241 + ], + "nonce" : 0, + "storage" : { + } + } + } + }, "boolean" : { "callcreates" : [ { @@ -861,8 +1037,8 @@ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "code" : [ - 144, - 37 + 160, + 112 ], "data" : [ ], @@ -897,4 +1073,4 @@ } } } -} +}
\ No newline at end of file |