Skip to content

Commit a09aae0

Browse files
committed
Fix VM tests.
1 parent ec9a044 commit a09aae0

File tree

1 file changed

+203
-27
lines changed

1 file changed

+203
-27
lines changed

vmtests.json

Lines changed: 203 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,205 @@
11
{
22
"arith" : {
3-
"callcreates":[ {"data":[],"destination":"cd1722f3947def4cf144679da39c4c32bdc35681","gasLimit":200,"value":74}],
4-
"env" : {"currentCoinbase":"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
5-
"currentDifficulty":"256",
6-
"currentGasLimit":"1000000",
7-
"currentNumber":"0",
8-
"currentTimestamp":1,
9-
"previousHash":"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
10-
},
11-
"exec" : { "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
12-
"caller":"cd1722f3947def4cf144679da39c4c32bdc35681",
13-
"code":["0x6000600060006000604a3360c8f1"],
14-
"data":[],
15-
"gas":10000,
16-
"gasPrice":100000000000000,
17-
"origin":"cd1722f3947def4cf144679da39c4c32bdc35681",
18-
"value":1000000000000000000
19-
},
20-
"gas":9773,
21-
"out":[],
22-
"post":{ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6":
23-
{"balance":999999999999999926,"code":[],"nonce":0,"storage":{}}},
24-
"pre":{"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6":
25-
{"balance":1000000000000000000,"code":[],"nonce":0,"storage":{}}}},
26-
3+
"callcreates" : [
4+
{
5+
"data" : [
6+
],
7+
"destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
8+
"gasLimit" : 9770,
9+
"value" : 74
10+
}
11+
],
12+
"env" : {
13+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
14+
"currentDifficulty" : "256",
15+
"currentGasLimit" : "1000000",
16+
"currentNumber" : "0",
17+
"currentTimestamp" : 1,
18+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
19+
},
20+
"exec" : {
21+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
22+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
23+
"code" : [
24+
96,
25+
0,
26+
96,
27+
0,
28+
96,
29+
0,
30+
96,
31+
0,
32+
96,
33+
2,
34+
96,
35+
2,
36+
96,
37+
8,
38+
3,
39+
3,
40+
96,
41+
2,
42+
96,
43+
3,
44+
6,
45+
96,
46+
2,
47+
96,
48+
2,
49+
4,
50+
96,
51+
4,
52+
96,
53+
4,
54+
96,
55+
4,
56+
2,
57+
2,
58+
96,
59+
2,
60+
96,
61+
2,
62+
1,
63+
1,
64+
1,
65+
1,
66+
1,
67+
51,
68+
96,
69+
200,
70+
92,
71+
3,
72+
241
73+
],
74+
"data" : [
75+
],
76+
"gas" : 10000,
77+
"gasPrice" : 100000000000000,
78+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
79+
"value" : 1000000000000000000
80+
},
81+
"gas" : 9949,
82+
"out" : [
83+
],
84+
"post" : {
85+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
86+
"balance" : 999999999999999926,
87+
"code" : [
88+
96,
89+
0,
90+
96,
91+
0,
92+
96,
93+
0,
94+
96,
95+
0,
96+
96,
97+
2,
98+
96,
99+
2,
100+
96,
101+
8,
102+
3,
103+
3,
104+
96,
105+
2,
106+
96,
107+
3,
108+
6,
109+
96,
110+
2,
111+
96,
112+
2,
113+
4,
114+
96,
115+
4,
116+
96,
117+
4,
118+
96,
119+
4,
120+
2,
121+
2,
122+
96,
123+
2,
124+
96,
125+
2,
126+
1,
127+
1,
128+
1,
129+
1,
130+
1,
131+
51,
132+
96,
133+
200,
134+
92,
135+
3,
136+
241
137+
],
138+
"nonce" : 0,
139+
"storage" : {
140+
}
141+
}
142+
},
143+
"pre" : {
144+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
145+
"balance" : 1000000000000000000,
146+
"code" : [
147+
96,
148+
0,
149+
96,
150+
0,
151+
96,
152+
0,
153+
96,
154+
0,
155+
96,
156+
2,
157+
96,
158+
2,
159+
96,
160+
8,
161+
3,
162+
3,
163+
96,
164+
2,
165+
96,
166+
3,
167+
6,
168+
96,
169+
2,
170+
96,
171+
2,
172+
4,
173+
96,
174+
4,
175+
96,
176+
4,
177+
96,
178+
4,
179+
2,
180+
2,
181+
96,
182+
2,
183+
96,
184+
2,
185+
1,
186+
1,
187+
1,
188+
1,
189+
1,
190+
51,
191+
96,
192+
200,
193+
92,
194+
3,
195+
241
196+
],
197+
"nonce" : 0,
198+
"storage" : {
199+
}
200+
}
201+
}
202+
},
27203
"boolean" : {
28204
"callcreates" : [
29205
{
@@ -861,8 +1037,8 @@
8611037
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
8621038
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
8631039
"code" : [
864-
144,
865-
37
1040+
160,
1041+
112
8661042
],
8671043
"data" : [
8681044
],
@@ -897,4 +1073,4 @@
8971073
}
8981074
}
8991075
}
900-
}
1076+
}

0 commit comments

Comments
 (0)