Commit e1ae4ad4 authored by Gav Wood's avatar Gav Wood

PoC-5 VM tests.

parent 15dd8fd7
{ {
"arith" : { "arith" : {
"env" : { "callcreates" : [
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", {
"currentDifficulty" : "256", "data" : [
"currentTimestamp" : 1, 0,
"feeMultiplier" : 1, 0,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", 0,
"previousNonce" : "9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae" 0
}, ],
"exec" : [ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
{ "gasLimit" : 9776,
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "value" : 4
"data" : [ }
], ],
"sender" : "cd1722f3947def4cf144679da39c4c32bdc35681", "env" : {
"value" : 1000000000000000000 "code" : "{ (call (- (gas) 200) (caller) (+ 2 2 (* 4 4 4) (/ 2 2) (% 3 2) (- 8 2 2)) 0 0 0 0) }",
} "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
], "currentDifficulty" : "256",
"post" : { "currentGasLimit" : "1000000",
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "currentNumber" : "0",
"balance" : 999999999999999810, "currentTimestamp" : 1,
"extroPrice" : 0, "gasLimit" : null,
"nonce" : 1, "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"store" : { },
"0" : [ "exec" : [
48, {
0, "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
48, "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2, "data" : "",
48, "gas" : "10000",
2, "gasPrice" : "100000000000000",
1, "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
48, "value" : "1000000000000000000"
4, }
48, ],
4, "gas" : 9954,
2, "out" : [
48, ],
4, "post" : {
2, "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1, "balance" : 999999999999999992,
48, "nonce" : 1,
2, "storage" : {
48, }
2, },
4, "cd1722f3947def4cf144679da39c4c32bdc35681" : {
1, "balance" : 4,
48, "nonce" : 0,
3, "storage" : {
48, }
2, },
6, "code" : [
1, ]
48, },
8, "pre" : {
48, "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
2, "balance" : 1000000000000000000,
3, "nonce" : 0,
48, "storage" : {
2, }
3, },
1, "code" : [
17, 96,
61, 0,
0 96,
] 0,
} 96,
} 0,
}, 96,
"pre" : { 0,
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { 96,
"balance" : 1000000000000000000, 2,
"extroPrice" : 0, 96,
"nonce" : 0, 2,
"store" : { 96,
"0" : [ 8,
48, 3,
0, 96,
48, 2,
2, 96,
48, 3,
2, 6,
1, 96,
48, 2,
4, 96,
48, 2,
4, 4,
2, 96,
48, 4,
4, 96,
2, 4,
1, 96,
48, 4,
2, 2,
48, 96,
2, 2,
4, 96,
1, 2,
48, 1,
3, 51,
48, 96,
2, 200,
6, 92,
1, 3,
48, 241
8, ]
48, }
2, },
3, "boolean" : {
48, "callcreates" : [
2, {
3, "data" : [
1, ],
17, "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
61 "gasLimit" : 9786,
] "value" : 2
} },
} {
}, "data" : [
"txs" : [ ],
{ "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"data" : [ "gasLimit" : 9732,
], "value" : 12
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", },
"value" : 79 {
} "data" : [
] ],
}, "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"boolean" : { "gasLimit" : 9696,
"env" : { "value" : 13
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", },
"currentDifficulty" : "256", {
"currentTimestamp" : 1, "data" : [
"feeMultiplier" : 1, ],
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"previousNonce" : "9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae" "gasLimit" : 9660,
}, "value" : 14
"exec" : [ }
{ ],
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "env" : {
"data" : [ "code" : "(seq (when (and 1 1) (call (- (gas) 200) (caller) 2 0 0 0 0)) (when (and 1 0) (call (- (gas) 200) (caller) 3 0 0 0 0)) (when (and 0 1) (call (- (gas) 200) (caller) 4 0 0 0 0)) (when (and 0 0) (call (- (gas) 200) (caller) 5 0 0 0 0)) (when (or 1 1) (call (- (gas) 200) (caller) 12 0 0 0 0)) (when (or 1 0) (call (- (gas) 200) (caller) 13 0 0 0 0)) (when (or 0 1) (call (- (gas) 200) (caller) 14 0 0 0 0)) (when (or 0 0) (call (- (gas) 200) (caller) 15 0 0 0 0)) )",
], "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"sender" : "cd1722f3947def4cf144679da39c4c32bdc35681", "currentDifficulty" : "256",
"value" : 1000000000000000000 "currentGasLimit" : "1000000",
} "currentNumber" : "0",
], "currentTimestamp" : 1,
"post" : { "gasLimit" : null,
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"balance" : 999999999999999490, },
"extroPrice" : 0, "exec" : [
"nonce" : 4, {
"store" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"0" : [ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
48, "data" : "",
21, "gas" : "10000",
48, "gasPrice" : "100000000000000",
0, "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
48, "value" : "1000000000000000000"
13, }
48, ],
1, "gas" : 9832,
15, "out" : [
57, ],
49, "post" : {
48, "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1, "balance" : 999999999999999918,
15, "nonce" : 4,
57, "storage" : {
48, }
0, },
48, "cd1722f3947def4cf144679da39c4c32bdc35681" : {
2, "balance" : 41,
17, "nonce" : 0,
61, "storage" : {
48, }
42, },
48, "code" : [
0, ]
48, },
34, "pre" : {
48, "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1, "balance" : 1000000000000000000,
15, "nonce" : 0,
57, "storage" : {
49, }
48, },
0, "code" : [
15, 96,
57, 1,
48, 96,
0, 1,
48, 16,
3, 15,
17, 99,
61, 0,
48, 0,
63, 0,
48, 29,
0, 89,
48, 96,
55, 0,
48, 96,
0, 0,
15, 96,
57, 0,
49, 96,
48, 0,
1, 96,
15, 2,
57, 51,
48, 96,
0, 200,
48, 92,
4, 3,
17, 241,
61, 80,
48, 96,
84, 0,
48, 96,
0, 1,
48, 16,
76, 15,
48, 99,
0, 0,
15, 0,
57, 0,
49, 58,
48, 89,
0, 96,
15, 0,
57, 96,
48, 0,
0, 96,
48, 0,
5, 96,
17, 0,
61, 96,
48, 3,
104, 51,
48, 96,
1, 200,
48, 92,
96, 3,
48, 241,
1, 80,
57, 96,
49, 1,
48, 96,
1, 0,
15, 16,
57, 15,
48, 99,
0, 0,
48, 0,
12, 0,
17, 87,
61, 89,
48, 96,
124, 0,
48, 96,
1, 0,
48, 96,
116, 0,
48, 96,
1, 0,
57, 96,
49, 4,
48, 51,
0, 96,
15, 200,
57, 92,
48, 3,
0, 241,
48, 80,
13, 96,
17, 0,
61, 96,
48, 0,
144, 16,
48, 15,
1, 99,
48, 0,
136, 0,
48, 0,
0, 116,
57, 89,
49, 96,
48, 0,
1, 96,
15, 0,
57, 96,
48, 0,
0, 96,
48, 0,
14, 96,
17, 5,
61, 51,
48, 96,
164, 200,
48, 92,
1, 3,
48, 241,
156, 80,
48, 96,
0, 1,
57, 96,
49, 1,
48, 17,
0, 15,
15, 99,
57, 0,
48, 0,
0, 0,
48, 145,
15, 89,
17, 96,
61, 0,
0 96,
] 0,
} 96,
} 0,
}, 96,
"pre" : { 0,
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { 96,
"balance" : 1000000000000000000, 12,
"extroPrice" : 0, 51,
"nonce" : 0, 96,
"store" : { 200,
"0" : [ 92,
48, 3,
21, 241,
48, 80,
0, 96,
48, 0,
13, 96,
48, 1,
1, 17,
15, 15,
57, 99,
49, 0,
48, 0,
1, 0,
15, 174,
57, 89,
48, 96,
0, 0,
48, 96,
2, 0,
17, 96,
61, 0,
48, 96,
42, 0,
48, 96,
0, 13,
48, 51,
34, 96,
48, 200,
1, 92,
15, 3,
57, 241,
49, 80,
48, 96,
0, 1,
15, 96,
57, 0,
48, 17,
0, 15,
48, 99,
3, 0,
17, 0,
61, 0,
48, 203,
63, 89,
48, 96,
0, 0,
48, 96,
55, 0,
48, 96,
0, 0,
15, 96,
57, 0,
49, 96,
48, 14,
1, 51,
15, 96,
57, 200,
48, 92,
0, 3,
48, 241,
4, 80,
17, 96,
61, 0,
48, 96,
84, 0,
48, 17,
0, 15,
48, 99,
76, 0,
48, 0,
0, 0,
15, 232,
57, 89,
49, 96,
48, 0,
0, 96,
15, 0,
57, 96,
48, 0,
0, 96,
48, 0,
5, 96,
17, 15,
61, 51,
48, 96,
104, 200,
48, 92,
1, 3,
48, 241,
96, 80
48, ]
1, }
57, },
49, "mktx" : {
48, "callcreates" : [
1, {
15, "data" : [
57, ],
48, "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
0, "gasLimit" : 9792,
48, "value" : 500000000000000000
12, }
17, ],
61, "env" : {
48, "code" : "(call (- (gas) 200) (caller) 500000000000000000 0 0 0 0)",
124, "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
48, "currentDifficulty" : "256",
1, "currentGasLimit" : "1000000",
48, "currentNumber" : "0",
116, "currentTimestamp" : 1,
48, "gasLimit" : null,
1, "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
57, },
49, "exec" : [
48, {
0, "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
15, "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
57, "data" : "",
48, "gas" : "10000",
0, "gasPrice" : "100000000000000",
48, "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
13, "value" : "1000000000000000000"
17, }
61, ],
48, "gas" : 9971,
144, "out" : [
48, ],
1, "post" : {
48, "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
136, "balance" : 0,
48, "nonce" : 1,
0, "storage" : {
57, }
49, },
48, "cd1722f3947def4cf144679da39c4c32bdc35681" : {
1, "balance" : 500000000000000000,
15, "nonce" : 0,
57, "storage" : {
48, }
0, },
48, "code" : [
14, ]
17, },
61, "pre" : {
48, "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
164, "balance" : 1000000000000000000,
48, "nonce" : 0,
1, "storage" : {
48, }
156, },
48, "code" : [
0, 96,
57, 0,
49, 96,
48, 0,
0, 96,
15, 0,
57, 96,
48, 0,
0, 103,
48, 6,
15, 240,
17, 91,
61 89,
] 211,
} 178,
} 0,
}, 0,
"txs" : [ 51,
{ 96,
"data" : [ 200,
], 92,
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", 3,
"value" : 2 241
}, ]
{ }
"data" : [ },
], "suicide" : {
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "callcreates" : [
"value" : 12 ],
}, "env" : {
{ "code" : "(suicide (caller))",
"data" : [ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
], "currentDifficulty" : "256",
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "currentGasLimit" : "1000000",
"value" : 13 "currentNumber" : "0",
}, "currentTimestamp" : 1,
{ "gasLimit" : null,
"data" : [ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
], },
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681", "exec" : [
"value" : 14 {
} "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
] "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
}, "data" : "",
"fan" : { "gas" : "10000",
"env" : { "gasPrice" : "100000000000000",
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"currentDifficulty" : "256", "value" : "1000000000000000000"
"currentTimestamp" : 1, }
"feeMultiplier" : 1, ],
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", "gas" : 9999,
"previousNonce" : "9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae" "out" : [
}, ],
"exec" : [ "post" : {
{ "cd1722f3947def4cf144679da39c4c32bdc35681" : {
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", "balance" : 1000000000000000000,
"data" : [ "nonce" : 0,
"0xcd1722f3947def4cf144679da39c4c32bdc35681", "storage" : {
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" }
], },
"sender" : "cd1722f3947def4cf144679da39c4c32bdc35681", "code" : [
"value" : 1000000000000000000 ]
} },
], "pre" : {
"post" : { "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : 1000000000000000000,
"balance" : "115792089237316195423570985008687907853269984665640564039456684007913129639415", "nonce" : 0,
"extroPrice" : 0, "storage" : {
"nonce" : 2, }
"store" : { },
"0" : [ "code" : [
48, 51,
8, 255
48, ]
100000000000000000, }
18, }
12, }
57, \ No newline at end of file
0,
19,
48,
100000000000000000,
18,
3,
4,
48,
"53545048851664692004060005546177757518248266694338929000325674008596820525056",
55,
48,
0,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
55,
48,
53,
19,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
54,
10,
15,
57,
48,
0,
48,
"53545048851664692004060005546177757518248266694338929000325674008596820525056",
54,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
54,
20,
61,
48,
1,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
54,
1,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
55,
48,
22,
56,
0
],
"47492849101242970779199036819969649705442767148016637594308774690745619578880" : [
2
],
"53545048851664692004060005546177757518248266694338929000325674008596820525056" : [
450000000000000000
]
}
}
},
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 0,
"extroPrice" : 0,
"nonce" : 0,
"store" : {
"0" : [
48,
8,
48,
100000000000000000,
18,
12,
57,
0,
19,
48,
100000000000000000,
18,
3,
4,
48,
"53545048851664692004060005546177757518248266694338929000325674008596820525056",
55,
48,
0,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
55,
48,
53,
19,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
54,
10,
15,
57,
48,
0,
48,
"53545048851664692004060005546177757518248266694338929000325674008596820525056",
54,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
54,
20,
61,
48,
1,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
54,
1,
48,
"47492849101242970779199036819969649705442767148016637594308774690745619578880",
55,
48,
22,
56
]
}
}
},
"txs" : [
{
"data" : [
],
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 450000000000000000
},
{
"data" : [
],
"destination" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"value" : 450000000000000000
}
]
},
"mktx" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
"currentTimestamp" : 1,
"feeMultiplier" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
"previousNonce" : "9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae"
},
"exec" : [
{
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"data" : [
],
"sender" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000
}
],
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 499999999999999900,
"extroPrice" : 0,
"nonce" : 1,
"store" : {
"0" : [
48,
0,
48,
500000000000000000,
17,
61,
0
]
}
}
},
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 1000000000000000000,
"extroPrice" : 0,
"nonce" : 0,
"store" : {
"0" : [
48,
0,
48,
500000000000000000,
17,
61
]
}
}
},
"txs" : [
{
"data" : [
],
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 500000000000000000
}
]
},
"suicide" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
"currentTimestamp" : 1,
"feeMultiplier" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
"previousNonce" : "9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae"
},
"exec" : [
{
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"data" : [
],
"sender" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : 1000000000000000000
}
],
"post" : {
"cd1722f3947def4cf144679da39c4c32bdc35681" : {
"balance" : 1000000000000000010,
"extroPrice" : 0,
"nonce" : 0
}
},
"pre" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : 1000000000000000000,
"extroPrice" : 0,
"nonce" : 0,
"store" : {
"0" : [
17,
63
]
}
}
},
"txs" : [
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment