1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
{
"modexp_3_09984_39936_22000" : {
"_info" : {
"comment" : "",
"filledwith" : "cpp-1.3.0+commit.b90fb307.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_09984_39936_22000Filler.json"
},
"env" : {
"currentCoinbase" : "0x3535353535353535353535353535353535353535",
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x5f5e100",
"currentNumber" : "0x1",
"currentTimestamp" : "0x03e8",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
"explanation" : "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 22000 gas",
"post" : {
"Byzantium" : [
{
"hash" : "0x70240d70b3a3bc6b69e9e0442519e5233506203cb341d794af639d2d1508417d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Constantinople" : [
{
"hash" : "0x70240d70b3a3bc6b69e9e0442519e5233506203cb341d794af639d2d1508417d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP150" : [
{
"hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"EIP158" : [
{
"hash" : "0xc5d18908d269b9b508c9471220b127ef55d6cd4fa98543c1ae6b4547e0bf45ed",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
{
"hash" : "0x70240d70b3a3bc6b69e9e0442519e5233506203cb341d794af639d2d1508417d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Homestead" : [
{
"hash" : "0x70240d70b3a3bc6b69e9e0442519e5233506203cb341d794af639d2d1508417d",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0x0000000000000000000000000000000000000001" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000002" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000003" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000004" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000005" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000006" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000007" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x0000000000000000000000000000000000000008" : {
"balance" : "0x01",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x3535353535353535353535353535353535353535" : {
"balance" : "0x0201ee",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
"balance" : "0x0de0b6b3a761fe12",
"code" : "",
"nonce" : "0x01",
"storage" : {
}
},
"0xc305c901078781c232a2a521c2af7980f8385ee9" : {
"balance" : "0x00",
"code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
"nonce" : "0x01",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000021034000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"gasLimit" : [
"0xaf08"
],
"gasPrice" : "0x1",
"nonce" : "0x1",
"secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
"to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
"value" : [
"0x"
]
}
}
}
|