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", {
"data" : [
],
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9770,
"value" : 74
}
],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256", "currentDifficulty" : "256",
"currentGasLimit" : "1000000", "currentGasLimit" : "1000000",
"currentNumber" : "0", "currentNumber" : "0",
"currentTimestamp" : 1, "currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}, },
"exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "exec" : {
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"code":["0x6000600060006000604a3360c8f1"], "code" : [
"data":[], 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, "gas" : 10000,
"gasPrice" : 100000000000000, "gasPrice" : 100000000000000,
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000 "value" : 1000000000000000000
}, },
"gas":9773, "gas" : 9949,
"out":[], "out" : [
"post":{ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": ],
{"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}}, "post" : {
"pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
{"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}}, "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" : [
], ],