Fix VM tests.

This commit is contained in:
Gav Wood 2014-07-06 15:46:01 +02:00
parent ec9a044a17
commit a09aae0efe

View File

@ -1,29 +1,205 @@
{ {
"arith" : { "arith" : {
"callcreates":[ {"data":[],"destination":"cd1722f3947def4cf144679da39c4c32bdc35681","gasLimit":200,"value":74}], "callcreates" : [
"env" : {"currentCoinbase":"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", {
"currentDifficulty":"256", "data" : [
"currentGasLimit":"1000000", ],
"currentNumber":"0", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"currentTimestamp":1, "gasLimit" : 9770,
"previousHash":"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" "value" : 74
}, }
"exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", ],
"caller":"cd1722f3947def4cf144679da39c4c32bdc35681", "env" : {
"code":["0x6000600060006000604a3360c8f1"], "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"data":[], "currentDifficulty" : "256",
"gas":10000, "currentGasLimit" : "1000000",
"gasPrice":100000000000000, "currentNumber" : "0",
"origin":"cd1722f3947def4cf144679da39c4c32bdc35681", "currentTimestamp" : 1,
"value":1000000000000000000 "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}, },
"gas":9773, "exec" : {
"out":[], "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"post":{ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
{"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}}, "code" : [
"pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": 96,
{"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}}, 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" : { "boolean" : {
"callcreates" : [ "callcreates" : [
{ {
@ -861,8 +1037,8 @@
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"code" : [ "code" : [
144, 160,
37 112
], ],
"data" : [ "data" : [
], ],
@ -897,4 +1073,4 @@
} }
} }
} }
} }