Skip to content

Commit a4f5f45

Browse files
committed
Merge pull request #17 from CJentzsch/develop
Added A calls B calls A contracts
2 parents 49a9f47 + b6d7cba commit a4f5f45

File tree

1 file changed

+177
-1
lines changed

1 file changed

+177
-1
lines changed

vmtests/vmSystemOperationsTest.json

Lines changed: 177 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,180 @@
11
{
2+
"ABAcalls" : {
3+
"callcreates" : [
4+
{
5+
"data" : "0x",
6+
"destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5",
7+
"gasLimit" : "1000",
8+
"value" : "24"
9+
}
10+
],
11+
"env" : {
12+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
13+
"currentDifficulty" : "256",
14+
"currentGasLimit" : "10000000",
15+
"currentNumber" : "0",
16+
"currentTimestamp" : "1",
17+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
18+
},
19+
"exec" : {
20+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
21+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
22+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a57",
23+
"data" : "0x",
24+
"gas" : "10000000000000",
25+
"gasPrice" : "100000000000000",
26+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
27+
"value" : "100000"
28+
},
29+
"gas" : "9999999999042",
30+
"out" : "0x",
31+
"post" : {
32+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
33+
"balance" : "999999999999999999",
34+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a57",
35+
"nonce" : "0",
36+
"storage" : {
37+
"0x23" : "0x01"
38+
}
39+
},
40+
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
41+
"balance" : "24",
42+
"code" : "0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66101f4f16001015a57",
43+
"nonce" : "0",
44+
"storage" : {
45+
"0x26" : "0x01"
46+
}
47+
}
48+
},
49+
"pre" : {
50+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
51+
"balance" : "1000000000000000000",
52+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a57",
53+
"nonce" : "0",
54+
"storage" : {
55+
}
56+
},
57+
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
58+
"balance" : "23",
59+
"code" : "0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66101f4f16001015a57",
60+
"nonce" : "0",
61+
"storage" : {
62+
}
63+
}
64+
}
65+
},
66+
"ABAcallsSuicide0" : {
67+
"callcreates" : [
68+
{
69+
"data" : "0x",
70+
"destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5",
71+
"gasLimit" : "1000",
72+
"value" : "24"
73+
}
74+
],
75+
"env" : {
76+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
77+
"currentDifficulty" : "256",
78+
"currentGasLimit" : "10000000",
79+
"currentNumber" : "0",
80+
"currentTimestamp" : "1",
81+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
82+
},
83+
"exec" : {
84+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
85+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
86+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a5773945304eb96065b2a98b57a48a06ae28d285a71b5ff",
87+
"data" : "0x",
88+
"gas" : "10000000000000",
89+
"gasPrice" : "100000000000000",
90+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
91+
"value" : "100000"
92+
},
93+
"gas" : "9999999999041",
94+
"out" : "0x",
95+
"post" : {
96+
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
97+
"balance" : "1000000000000000023",
98+
"code" : "0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66101f4f16001015a57",
99+
"nonce" : "0",
100+
"storage" : {
101+
"0x26" : "0x01"
102+
}
103+
}
104+
},
105+
"pre" : {
106+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
107+
"balance" : "1000000000000000000",
108+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a5773945304eb96065b2a98b57a48a06ae28d285a71b5ff",
109+
"nonce" : "0",
110+
"storage" : {
111+
}
112+
},
113+
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
114+
"balance" : "23",
115+
"code" : "0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66101f4f16001015a57",
116+
"nonce" : "0",
117+
"storage" : {
118+
}
119+
}
120+
}
121+
},
122+
"ABAcallsSuicide1" : {
123+
"callcreates" : [
124+
{
125+
"data" : "0x",
126+
"destination" : "945304eb96065b2a98b57a48a06ae28d285a71b5",
127+
"gasLimit" : "1000",
128+
"value" : "24"
129+
}
130+
],
131+
"env" : {
132+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
133+
"currentDifficulty" : "256",
134+
"currentGasLimit" : "10000000",
135+
"currentNumber" : "0",
136+
"currentTimestamp" : "1",
137+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
138+
},
139+
"exec" : {
140+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
141+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
142+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a57",
143+
"data" : "0x",
144+
"gas" : "10000000000000",
145+
"gasPrice" : "100000000000000",
146+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
147+
"value" : "100000"
148+
},
149+
"gas" : "9999999999041",
150+
"out" : "0x",
151+
"post" : {
152+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
153+
"balance" : "1000000000000000023",
154+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a57",
155+
"nonce" : "0",
156+
"storage" : {
157+
"0x23" : "0x01"
158+
}
159+
}
160+
},
161+
"pre" : {
162+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
163+
"balance" : "1000000000000000000",
164+
"code" : "0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e8f15a57",
165+
"nonce" : "0",
166+
"storage" : {
167+
}
168+
},
169+
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
170+
"balance" : "23",
171+
"code" : "0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66101f4f16001015a57730f572e5295c57f15886f9b263e2f6d2d6c7b5ec6ff",
172+
"nonce" : "0",
173+
"storage" : {
174+
}
175+
}
176+
}
177+
},
2178
"CallRecursiveBomb" : {
3179
"callcreates" : [
4180
{
@@ -292,7 +468,7 @@
292468
}
293469
},
294470
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
295-
"balance" : "46",
471+
"balance" : "23",
296472
"code" : "0x600035560f6009590060203560003557",
297473
"nonce" : "0",
298474
"storage" : {

0 commit comments

Comments
 (0)