Skip to content

Commit 0afa72c

Browse files
committed
Added precompiledContracts tests
1 parent 6be83dd commit 0afa72c

File tree

1 file changed

+203
-0
lines changed

1 file changed

+203
-0
lines changed
Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
{
2+
"CallEcrecover" : {
3+
"env" : {
4+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
5+
"currentDifficulty" : "256",
6+
"currentGasLimit" : "10000000",
7+
"currentNumber" : "0",
8+
"currentTimestamp" : 1,
9+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
10+
},
11+
"out" : "0x",
12+
"post" : {
13+
"0000000000000000000000000000000000000002" : {
14+
"balance" : "0",
15+
"code" : "0x",
16+
"nonce" : "0",
17+
"storage" : {
18+
}
19+
},
20+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
21+
"balance" : "20100000",
22+
"code" : "0x7fd7db77575fd7502133b5869069da2280c5833d47bcee020901478097d675d6e460005260016020527f2e59072176056a8173186f6fe6d9e395cfd2df7ce5b53b4adcb3747a3fda8c696021527fda2026dd018d868daa96ac31a5b148ee769ab184236b731b27b6c4a8bb16dcfb6041526014606160616000600060026103e8f150606151600055",
23+
"nonce" : "0",
24+
"storage" : {
25+
"0x" : "0x059588ad2c1eb51bf000a884bd50d632af63a9f5000000000000000000000000"
26+
}
27+
},
28+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
29+
"balance" : "948",
30+
"code" : "0x",
31+
"nonce" : "0",
32+
"storage" : {
33+
}
34+
},
35+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
36+
"balance" : "999999999999899052",
37+
"code" : "0x",
38+
"nonce" : "1",
39+
"storage" : {
40+
}
41+
}
42+
},
43+
"pre" : {
44+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
45+
"balance" : "20000000",
46+
"code" : "0x7fd7db77575fd7502133b5869069da2280c5833d47bcee020901478097d675d6e460005260016020527f2e59072176056a8173186f6fe6d9e395cfd2df7ce5b53b4adcb3747a3fda8c696021527fda2026dd018d868daa96ac31a5b148ee769ab184236b731b27b6c4a8bb16dcfb6041526014606160616000600060026103e8f150606151600055",
47+
"nonce" : "0",
48+
"storage" : {
49+
}
50+
},
51+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
52+
"balance" : "1000000000000000000",
53+
"code" : "0x",
54+
"nonce" : "0",
55+
"storage" : {
56+
}
57+
}
58+
},
59+
"transaction" : {
60+
"data" : "",
61+
"gasLimit" : "365224",
62+
"gasPrice" : "1",
63+
"nonce" : "0",
64+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
65+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
66+
"value" : "100000"
67+
}
68+
},
69+
"CallRipemd160" : {
70+
"env" : {
71+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
72+
"currentDifficulty" : "256",
73+
"currentGasLimit" : "10000000",
74+
"currentNumber" : "0",
75+
"currentTimestamp" : 1,
76+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
77+
},
78+
"out" : "0x",
79+
"post" : {
80+
"0000000000000000000000000000000000000003" : {
81+
"balance" : "0",
82+
"code" : "0x",
83+
"nonce" : "0",
84+
"storage" : {
85+
}
86+
},
87+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
88+
"balance" : "20100000",
89+
"code" : "0x600160005260206000602060006000600360fff1600051600055",
90+
"nonce" : "0",
91+
"storage" : {
92+
"0x" : "0xae387fcfeb723c3f5964509af111cf5a67f30661"
93+
}
94+
},
95+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
96+
"balance" : "934",
97+
"code" : "0x",
98+
"nonce" : "0",
99+
"storage" : {
100+
}
101+
},
102+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
103+
"balance" : "999999999999899066",
104+
"code" : "0x",
105+
"nonce" : "1",
106+
"storage" : {
107+
}
108+
}
109+
},
110+
"pre" : {
111+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
112+
"balance" : "20000000",
113+
"code" : "0x600160005260206000602060006000600360fff1600051600055",
114+
"nonce" : "0",
115+
"storage" : {
116+
}
117+
},
118+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
119+
"balance" : "1000000000000000000",
120+
"code" : "0x",
121+
"nonce" : "0",
122+
"storage" : {
123+
}
124+
}
125+
},
126+
"transaction" : {
127+
"data" : "",
128+
"gasLimit" : "365224",
129+
"gasPrice" : "1",
130+
"nonce" : "0",
131+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
132+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
133+
"value" : "100000"
134+
}
135+
},
136+
"CallSha256" : {
137+
"env" : {
138+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
139+
"currentDifficulty" : "256",
140+
"currentGasLimit" : "10000000",
141+
"currentNumber" : "0",
142+
"currentTimestamp" : 1,
143+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
144+
},
145+
"out" : "0x",
146+
"post" : {
147+
"0000000000000000000000000000000000000002" : {
148+
"balance" : "0",
149+
"code" : "0x",
150+
"nonce" : "0",
151+
"storage" : {
152+
}
153+
},
154+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
155+
"balance" : "20100000",
156+
"code" : "0x600160005260206000602060006000600260fff1600051600055",
157+
"nonce" : "0",
158+
"storage" : {
159+
"0x" : "0xec4916dd28fc4c10d78e287ca5d9cc51ee1ae73cbfde08c6b37324cbfaac8bc5"
160+
}
161+
},
162+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
163+
"balance" : "934",
164+
"code" : "0x",
165+
"nonce" : "0",
166+
"storage" : {
167+
}
168+
},
169+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
170+
"balance" : "999999999999899066",
171+
"code" : "0x",
172+
"nonce" : "1",
173+
"storage" : {
174+
}
175+
}
176+
},
177+
"pre" : {
178+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
179+
"balance" : "20000000",
180+
"code" : "0x600160005260206000602060006000600260fff1600051600055",
181+
"nonce" : "0",
182+
"storage" : {
183+
}
184+
},
185+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
186+
"balance" : "1000000000000000000",
187+
"code" : "0x",
188+
"nonce" : "0",
189+
"storage" : {
190+
}
191+
}
192+
},
193+
"transaction" : {
194+
"data" : "",
195+
"gasLimit" : "365224",
196+
"gasPrice" : "1",
197+
"nonce" : "0",
198+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
199+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
200+
"value" : "100000"
201+
}
202+
}
203+
}

0 commit comments

Comments
 (0)