Fix VM tests.

pull/426/head
Gav Wood 10 years ago
parent ec9a044a17
commit a09aae0efe
  1. 230
      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 @@
}
}
}
}
}
Loading…
Cancel
Save