Everything a string.

release/1.0.1
Gav Wood 10 years ago
parent d659f469a9
commit ddfa3af45d
  1. 96
      vmtests.json

@ -4,8 +4,8 @@
{ {
"data" : "0x", "data" : "0x",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9770, "gasLimit" : "9770",
"value" : 74 "value" : "74"
} }
], ],
"env" : { "env" : {
@ -13,7 +13,7 @@
"currentDifficulty" : "256", "currentDifficulty" : "256",
"currentGasLimit" : "1000000", "currentGasLimit" : "1000000",
"currentNumber" : "0", "currentNumber" : "0",
"currentTimestamp" : 1, "currentTimestamp" : "1",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}, },
"exec" : { "exec" : {
@ -21,28 +21,28 @@
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1", "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
"data" : "0x", "data" : "0x",
"gas" : 10000, "gas" : "10000",
"gasPrice" : 100000000000000, "gasPrice" : "100000000000000",
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000 "value" : "1000000000000000000"
}, },
"gas" : 9949, "gas" : "9949",
"out" : [ "out" : [
], ],
"post" : { "post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 999999999999999926, "balance" : "999999999999999926",
"code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1", "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
}, },
"pre" : { "pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 1000000000000000000, "balance" : "1000000000000000000",
"code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1", "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
@ -53,26 +53,26 @@
{ {
"data" : "0x", "data" : "0x",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9786, "gasLimit" : "9786",
"value" : 2 "value" : "2"
}, },
{ {
"data" : "0x", "data" : "0x",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9732, "gasLimit" : "9732",
"value" : 12 "value" : "12"
}, },
{ {
"data" : "0x", "data" : "0x",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9696, "gasLimit" : "9696",
"value" : 13 "value" : "13"
}, },
{ {
"data" : "0x", "data" : "0x",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9660, "gasLimit" : "9660",
"value" : 14 "value" : "14"
} }
], ],
"env" : { "env" : {
@ -80,7 +80,7 @@
"currentDifficulty" : "256", "currentDifficulty" : "256",
"currentGasLimit" : "1000000", "currentGasLimit" : "1000000",
"currentNumber" : "0", "currentNumber" : "0",
"currentTimestamp" : 1, "currentTimestamp" : "1",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}, },
"exec" : { "exec" : {
@ -88,28 +88,28 @@
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150", "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
"data" : "0x", "data" : "0x",
"gas" : 10000, "gas" : "10000",
"gasPrice" : 100000000000000, "gasPrice" : "100000000000000",
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000 "value" : "1000000000000000000"
}, },
"gas" : 9832, "gas" : "9832",
"out" : [ "out" : [
], ],
"post" : { "post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 999999999999999959, "balance" : "999999999999999959",
"code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150", "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
}, },
"pre" : { "pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 1000000000000000000, "balance" : "1000000000000000000",
"code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150", "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
@ -120,8 +120,8 @@
{ {
"data" : "0x", "data" : "0x",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"gasLimit" : 9792, "gasLimit" : "9792",
"value" : 500000000000000000 "value" : "500000000000000000"
} }
], ],
"env" : { "env" : {
@ -129,7 +129,7 @@
"currentDifficulty" : "256", "currentDifficulty" : "256",
"currentGasLimit" : "1000000", "currentGasLimit" : "1000000",
"currentNumber" : "0", "currentNumber" : "0",
"currentTimestamp" : 1, "currentTimestamp" : "1",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}, },
"exec" : { "exec" : {
@ -137,28 +137,28 @@
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"code" : "0x60006000600060006706f05b59d3b200003360c85c03f1", "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
"data" : "0x", "data" : "0x",
"gas" : 10000, "gas" : "10000",
"gasPrice" : 100000000000000, "gasPrice" : "100000000000000",
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000 "value" : "1000000000000000000"
}, },
"gas" : 9971, "gas" : "9971",
"out" : [ "out" : [
], ],
"post" : { "post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 500000000000000000, "balance" : "500000000000000000",
"code" : "0x60006000600060006706f05b59d3b200003360c85c03f1", "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
}, },
"pre" : { "pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 1000000000000000000, "balance" : "1000000000000000000",
"code" : "0x60006000600060006706f05b59d3b200003360c85c03f1", "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
@ -172,7 +172,7 @@
"currentDifficulty" : "256", "currentDifficulty" : "256",
"currentGasLimit" : "1000000", "currentGasLimit" : "1000000",
"currentNumber" : "0", "currentNumber" : "0",
"currentTimestamp" : 1, "currentTimestamp" : "1",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}, },
"exec" : { "exec" : {
@ -180,28 +180,28 @@
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"code" : "0x33ff", "code" : "0x33ff",
"data" : "0x", "data" : "0x",
"gas" : 10000, "gas" : "10000",
"gasPrice" : 100000000000000, "gasPrice" : "100000000000000",
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000 "value" : "1000000000000000000"
}, },
"gas" : 9999, "gas" : "9999",
"out" : [ "out" : [
], ],
"post" : { "post" : {
"cd1722f3947def4cf144679da39c4c32bdc35681" : { "cd1722f3947def4cf144679da39c4c32bdc35681" : {
"balance" : 1000000000000000000, "balance" : "1000000000000000000",
"code" : "0x", "code" : "0x",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }
}, },
"pre" : { "pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 1000000000000000000, "balance" : "1000000000000000000",
"code" : "0x33ff", "code" : "0x33ff",
"nonce" : 0, "nonce" : "0",
"storage" : { "storage" : {
} }
} }

Loading…
Cancel
Save