34
34
RinkebyGenesisHash = common .HexToHash ("0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177" )
35
35
GoerliGenesisHash = common .HexToHash ("0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a" )
36
36
RoninMainnetGenesisHash = common .HexToHash ("0x6e675ee97607f4e695188786c3c1853fb1562f1c075629eb5dbcff269422a1a4" )
37
+ RoninTestnetGenesisHash = common .HexToHash ("0x13e47595099383189b8b0d5f3b67aa161495e478bb3fea64f4cf85cdf69cac4d" )
37
38
)
38
39
39
40
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
@@ -235,6 +236,9 @@ var (
235
236
236
237
RoninMainnetBlacklistContract = common .HexToAddress ("0x313b24994c93FA0471CB4D7aB796b07467041806" )
237
238
RoninMainnetFenixValidatorContractAddress = common .HexToAddress ("0x7f13232Bdc3a010c3f749a1c25bF99f1C053CE70" )
239
+ RoninMainnetRoninValidatorSetAddress = common .HexToAddress ("0x617c5d73662282EA7FfD231E020eCa6D2B0D552f" )
240
+ RoninMainnetSlashIndicatorAddress = common .HexToAddress ("0xEBFFF2b32fA0dF9C5C8C5d5AAa7e8b51d5207bA3" )
241
+ RoninMainnetStakingContractAddress = common .HexToAddress ("0x545edb750eB8769C868429BE9586F5857A768758" )
238
242
239
243
RoninMainnetChainConfig = & ChainConfig {
240
244
ChainID : big .NewInt (2020 ),
@@ -251,9 +255,55 @@ var (
251
255
BlacklistContractAddress : & RoninMainnetBlacklistContract ,
252
256
FenixValidatorContractAddress : & RoninMainnetFenixValidatorContractAddress ,
253
257
Consortium : & ConsortiumConfig {
254
- Period : 3 ,
255
- Epoch : 600 ,
258
+ Period : 3 ,
259
+ Epoch : 600 ,
260
+ EpochV2 : 200 ,
256
261
},
262
+ ConsortiumV2Contracts : & ConsortiumV2Contracts {
263
+ RoninValidatorSet : RoninMainnetRoninValidatorSetAddress ,
264
+ SlashIndicator : RoninMainnetSlashIndicatorAddress ,
265
+ StakingContract : RoninMainnetStakingContractAddress ,
266
+ },
267
+ ConsortiumV2Block : big .NewInt (23155200 ),
268
+ PuffyBlock : big .NewInt (0 ),
269
+ BubaBlock : big .NewInt (0 ),
270
+ OlekBlock : big .NewInt (24935500 ),
271
+ }
272
+
273
+ RoninTestnetBlacklistContract = common .HexToAddress ("0xF53EED5210c9cF308abFe66bA7CF14884c95A8aC" )
274
+ RoninTestnetFenixValidatorContractAddress = common .HexToAddress ("0x1454cAAd1637b662432Bb795cD5773d21281eDAb" )
275
+ RoninTestnetRoninValidatorSetAddress = common .HexToAddress ("0x54B3AC74a90E64E8dDE60671b6fE8F8DDf18eC9d" )
276
+ RoninTestnetSlashIndicatorAddress = common .HexToAddress ("0xF7837778b6E180Df6696C8Fa986d62f8b6186752" )
277
+ RoninTestnetStakingContractAddress = common .HexToAddress ("0x9C245671791834daf3885533D24dce516B763B28" )
278
+
279
+ RoninTestnetChainConfig = & ChainConfig {
280
+ ChainID : big .NewInt (2021 ),
281
+ HomesteadBlock : big .NewInt (0 ),
282
+ EIP150Block : big .NewInt (0 ),
283
+ EIP155Block : big .NewInt (0 ),
284
+ EIP158Block : big .NewInt (0 ),
285
+ ByzantiumBlock : big .NewInt (0 ),
286
+ ConstantinopleBlock : big .NewInt (0 ),
287
+ PetersburgBlock : big .NewInt (0 ),
288
+ IstanbulBlock : big .NewInt (0 ),
289
+ OdysseusBlock : big .NewInt (3315095 ),
290
+ FenixBlock : big .NewInt (6770400 ),
291
+ BlacklistContractAddress : & RoninTestnetBlacklistContract ,
292
+ FenixValidatorContractAddress : & RoninTestnetFenixValidatorContractAddress ,
293
+ Consortium : & ConsortiumConfig {
294
+ Period : 3 ,
295
+ Epoch : 30 ,
296
+ EpochV2 : 200 ,
297
+ },
298
+ ConsortiumV2Contracts : & ConsortiumV2Contracts {
299
+ RoninValidatorSet : RoninTestnetRoninValidatorSetAddress ,
300
+ SlashIndicator : RoninTestnetSlashIndicatorAddress ,
301
+ StakingContract : RoninTestnetStakingContractAddress ,
302
+ },
303
+ ConsortiumV2Block : big .NewInt (11706000 ),
304
+ PuffyBlock : big .NewInt (12254000 ),
305
+ BubaBlock : big .NewInt (14260600 ),
306
+ OlekBlock : big .NewInt (16849000 ),
257
307
}
258
308
259
309
// GoerliTrustedCheckpoint contains the light client trusted checkpoint for the Görli test network.
0 commit comments