File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ type mainnetSchedule struct{}
73
73
74
74
func (ms mainnetSchedule ) InstanceForEpoch (epoch * big.Int ) Instance {
75
75
switch {
76
+ case params .MainnetChainConfig .IsHIP32 (epoch ):
77
+ return mainnetV5
76
78
case params .MainnetChainConfig .IsHIP30 (epoch ):
77
79
return mainnetV4
78
80
case params .MainnetChainConfig .IsFeeCollectEpoch (epoch ):
@@ -376,4 +378,13 @@ var (
376
378
hip30CollectionAddress , mainnetReshardingEpoch ,
377
379
MainnetSchedule .BlocksPerEpoch (),
378
380
)
381
+ mainnetV5 = MustNewInstance (
382
+ 2 , 200 , 2 , 0.06 ,
383
+ numeric .MustNewDecFromStr ("0.01" ),
384
+ genesis .HarmonyAccountsPostHIP30 ,
385
+ genesis .FoundationalNodeAccountsV1_5 , emptyAllowlist ,
386
+ feeCollectorsMainnet , numeric .MustNewDecFromStr ("0.25" ),
387
+ hip30CollectionAddress , mainnetReshardingEpoch ,
388
+ MainnetSchedule .BlocksPerEpoch (),
389
+ )
379
390
)
Original file line number Diff line number Diff line change 69
69
SlotsLimitedEpoch : big .NewInt (999 ), // Around Fri, 27 May 2022 09:41:02 UTC with 2s block time
70
70
CrossShardXferPrecompileEpoch : big .NewInt (1323 ), // Around Wed 8 Feb 11:30PM UTC
71
71
AllowlistEpoch : EpochTBD ,
72
- LeaderRotationInternalValidatorsEpoch : EpochTBD ,
73
- LeaderRotationExternalValidatorsEpoch : EpochTBD ,
72
+ LeaderRotationInternalValidatorsEpoch : big . NewInt ( 2151 ), // 2024-10-30 19:50 UTC
73
+ LeaderRotationExternalValidatorsEpoch : big . NewInt ( 2151 ), // 2024-10-30 19:50 UTC
74
74
FeeCollectEpoch : big .NewInt (1535 ), // 2023-07-20 05:51:07+00:00
75
75
ValidatorCodeFixEpoch : big .NewInt (1535 ), // 2023-07-20 05:51:07+00:00
76
76
HIP30Epoch : big .NewInt (1673 ), // 2023-11-02 17:30:00+00:00
79
79
MaxRateEpoch : big .NewInt (1733 ), // 2023-12-17 12:20:15+00:00
80
80
DevnetExternalEpoch : EpochTBD ,
81
81
TestnetExternalEpoch : EpochTBD ,
82
+ HIP32Epoch : big .NewInt (2151 ), // 2024-10-30 19:50 UTC
82
83
}
83
84
84
85
// TestnetChainConfig contains the chain parameters to run a node on the harmony test network.
You can’t perform that action at this time.
0 commit comments