@@ -80,66 +80,6 @@ func (c *ChainConfig) checkArbitrumCompatible(newcfg *ChainConfig, head *big.Int
80
80
return nil
81
81
}
82
82
83
- func ArbitrumOneParams () ArbitrumChainParams {
84
- return ArbitrumChainParams {
85
- EnableArbOS : true ,
86
- AllowDebugPrecompiles : false ,
87
- DataAvailabilityCommittee : false ,
88
- InitialArbOSVersion : 6 ,
89
- InitialChainOwner : common .HexToAddress ("0xd345e41ae2cb00311956aa7109fc801ae8c81a52" ),
90
- }
91
- }
92
-
93
- func ArbitrumNovaParams () ArbitrumChainParams {
94
- return ArbitrumChainParams {
95
- EnableArbOS : true ,
96
- AllowDebugPrecompiles : false ,
97
- DataAvailabilityCommittee : true ,
98
- InitialArbOSVersion : 1 ,
99
- InitialChainOwner : common .HexToAddress ("0x9C040726F2A657226Ed95712245DeE84b650A1b5" ),
100
- }
101
- }
102
-
103
- func ArbitrumRollupGoerliTestnetParams () ArbitrumChainParams {
104
- return ArbitrumChainParams {
105
- EnableArbOS : true ,
106
- AllowDebugPrecompiles : false ,
107
- DataAvailabilityCommittee : false ,
108
- InitialArbOSVersion : 2 ,
109
- InitialChainOwner : common .HexToAddress ("0x186B56023d42B2B4E7616589a5C62EEf5FCa21DD" ),
110
- }
111
- }
112
-
113
- func ArbitrumDevTestParams () ArbitrumChainParams {
114
- return ArbitrumChainParams {
115
- EnableArbOS : true ,
116
- AllowDebugPrecompiles : true ,
117
- DataAvailabilityCommittee : false ,
118
- InitialArbOSVersion : 32 ,
119
- InitialChainOwner : common.Address {},
120
- }
121
- }
122
-
123
- func ArbitrumDevTestDASParams () ArbitrumChainParams {
124
- return ArbitrumChainParams {
125
- EnableArbOS : true ,
126
- AllowDebugPrecompiles : true ,
127
- DataAvailabilityCommittee : true ,
128
- InitialArbOSVersion : 32 ,
129
- InitialChainOwner : common.Address {},
130
- }
131
- }
132
-
133
- func ArbitrumAnytrustGoerliTestnetParams () ArbitrumChainParams {
134
- return ArbitrumChainParams {
135
- EnableArbOS : true ,
136
- AllowDebugPrecompiles : false ,
137
- DataAvailabilityCommittee : true ,
138
- InitialArbOSVersion : 2 ,
139
- InitialChainOwner : common .HexToAddress ("0x186B56023d42B2B4E7616589a5C62EEf5FCa21DD" ),
140
- }
141
- }
142
-
143
83
func DisableArbitrumParams () ArbitrumChainParams {
144
84
return ArbitrumChainParams {
145
85
EnableArbOS : false ,
@@ -149,156 +89,3 @@ func DisableArbitrumParams() ArbitrumChainParams {
149
89
InitialChainOwner : common.Address {},
150
90
}
151
91
}
152
-
153
- func ArbitrumOneChainConfig () * ChainConfig {
154
- return & ChainConfig {
155
- ChainID : big .NewInt (42161 ),
156
- HomesteadBlock : big .NewInt (0 ),
157
- DAOForkBlock : nil ,
158
- DAOForkSupport : true ,
159
- EIP150Block : big .NewInt (0 ),
160
- EIP155Block : big .NewInt (0 ),
161
- EIP158Block : big .NewInt (0 ),
162
- ByzantiumBlock : big .NewInt (0 ),
163
- ConstantinopleBlock : big .NewInt (0 ),
164
- PetersburgBlock : big .NewInt (0 ),
165
- IstanbulBlock : big .NewInt (0 ),
166
- MuirGlacierBlock : big .NewInt (0 ),
167
- BerlinBlock : big .NewInt (0 ),
168
- LondonBlock : big .NewInt (0 ),
169
- ArbitrumChainParams : ArbitrumOneParams (),
170
- Clique : & CliqueConfig {
171
- Period : 0 ,
172
- Epoch : 0 ,
173
- },
174
- }
175
- }
176
-
177
- func ArbitrumNovaChainConfig () * ChainConfig {
178
- return & ChainConfig {
179
- ChainID : big .NewInt (42170 ),
180
- HomesteadBlock : big .NewInt (0 ),
181
- DAOForkBlock : nil ,
182
- DAOForkSupport : true ,
183
- EIP150Block : big .NewInt (0 ),
184
- EIP155Block : big .NewInt (0 ),
185
- EIP158Block : big .NewInt (0 ),
186
- ByzantiumBlock : big .NewInt (0 ),
187
- ConstantinopleBlock : big .NewInt (0 ),
188
- PetersburgBlock : big .NewInt (0 ),
189
- IstanbulBlock : big .NewInt (0 ),
190
- MuirGlacierBlock : big .NewInt (0 ),
191
- BerlinBlock : big .NewInt (0 ),
192
- LondonBlock : big .NewInt (0 ),
193
- ArbitrumChainParams : ArbitrumNovaParams (),
194
- Clique : & CliqueConfig {
195
- Period : 0 ,
196
- Epoch : 0 ,
197
- },
198
- }
199
- }
200
-
201
- func ArbitrumRollupGoerliTestnetChainConfig () * ChainConfig {
202
- return & ChainConfig {
203
- ChainID : big .NewInt (421613 ),
204
- HomesteadBlock : big .NewInt (0 ),
205
- DAOForkBlock : nil ,
206
- DAOForkSupport : true ,
207
- EIP150Block : big .NewInt (0 ),
208
- EIP155Block : big .NewInt (0 ),
209
- EIP158Block : big .NewInt (0 ),
210
- ByzantiumBlock : big .NewInt (0 ),
211
- ConstantinopleBlock : big .NewInt (0 ),
212
- PetersburgBlock : big .NewInt (0 ),
213
- IstanbulBlock : big .NewInt (0 ),
214
- MuirGlacierBlock : big .NewInt (0 ),
215
- BerlinBlock : big .NewInt (0 ),
216
- LondonBlock : big .NewInt (0 ),
217
- ArbitrumChainParams : ArbitrumRollupGoerliTestnetParams (),
218
- Clique : & CliqueConfig {
219
- Period : 0 ,
220
- Epoch : 0 ,
221
- },
222
- }
223
- }
224
-
225
- func ArbitrumDevTestChainConfig () * ChainConfig {
226
- return & ChainConfig {
227
- ChainID : big .NewInt (412346 ),
228
- HomesteadBlock : big .NewInt (0 ),
229
- DAOForkBlock : nil ,
230
- DAOForkSupport : true ,
231
- EIP150Block : big .NewInt (0 ),
232
- EIP155Block : big .NewInt (0 ),
233
- EIP158Block : big .NewInt (0 ),
234
- ByzantiumBlock : big .NewInt (0 ),
235
- ConstantinopleBlock : big .NewInt (0 ),
236
- PetersburgBlock : big .NewInt (0 ),
237
- IstanbulBlock : big .NewInt (0 ),
238
- MuirGlacierBlock : big .NewInt (0 ),
239
- BerlinBlock : big .NewInt (0 ),
240
- LondonBlock : big .NewInt (0 ),
241
- ArbitrumChainParams : ArbitrumDevTestParams (),
242
- Clique : & CliqueConfig {
243
- Period : 0 ,
244
- Epoch : 0 ,
245
- },
246
- }
247
- }
248
-
249
- func ArbitrumDevTestDASChainConfig () * ChainConfig {
250
- return & ChainConfig {
251
- ChainID : big .NewInt (412347 ),
252
- HomesteadBlock : big .NewInt (0 ),
253
- DAOForkBlock : nil ,
254
- DAOForkSupport : true ,
255
- EIP150Block : big .NewInt (0 ),
256
- EIP155Block : big .NewInt (0 ),
257
- EIP158Block : big .NewInt (0 ),
258
- ByzantiumBlock : big .NewInt (0 ),
259
- ConstantinopleBlock : big .NewInt (0 ),
260
- PetersburgBlock : big .NewInt (0 ),
261
- IstanbulBlock : big .NewInt (0 ),
262
- MuirGlacierBlock : big .NewInt (0 ),
263
- BerlinBlock : big .NewInt (0 ),
264
- LondonBlock : big .NewInt (0 ),
265
- ArbitrumChainParams : ArbitrumDevTestDASParams (),
266
- Clique : & CliqueConfig {
267
- Period : 0 ,
268
- Epoch : 0 ,
269
- },
270
- }
271
- }
272
-
273
- func ArbitrumAnytrustGoerliTestnetChainConfig () * ChainConfig {
274
- return & ChainConfig {
275
- ChainID : big .NewInt (421703 ),
276
- HomesteadBlock : big .NewInt (0 ),
277
- DAOForkBlock : nil ,
278
- DAOForkSupport : true ,
279
- EIP150Block : big .NewInt (0 ),
280
- EIP155Block : big .NewInt (0 ),
281
- EIP158Block : big .NewInt (0 ),
282
- ByzantiumBlock : big .NewInt (0 ),
283
- ConstantinopleBlock : big .NewInt (0 ),
284
- PetersburgBlock : big .NewInt (0 ),
285
- IstanbulBlock : big .NewInt (0 ),
286
- MuirGlacierBlock : big .NewInt (0 ),
287
- BerlinBlock : big .NewInt (0 ),
288
- LondonBlock : big .NewInt (0 ),
289
- ArbitrumChainParams : ArbitrumAnytrustGoerliTestnetParams (),
290
- Clique : & CliqueConfig {
291
- Period : 0 ,
292
- Epoch : 0 ,
293
- },
294
- }
295
- }
296
-
297
- var ArbitrumSupportedChainConfigs = []* ChainConfig {
298
- ArbitrumOneChainConfig (),
299
- ArbitrumNovaChainConfig (),
300
- ArbitrumRollupGoerliTestnetChainConfig (),
301
- ArbitrumDevTestChainConfig (),
302
- ArbitrumDevTestDASChainConfig (),
303
- ArbitrumAnytrustGoerliTestnetChainConfig (),
304
- }
0 commit comments