From 51a1ffe350a09f28c7186433e383f19c94e8da91 Mon Sep 17 00:00:00 2001 From: Diego Nava <8563843+diego1q2w@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:10:06 +0100 Subject: [PATCH] prepare devnet reset (#4615) --- internal/configs/sharding/partner.go | 6 +++--- internal/params/config.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/configs/sharding/partner.go b/internal/configs/sharding/partner.go index 5834b5ae3..363f77d8b 100644 --- a/internal/configs/sharding/partner.go +++ b/internal/configs/sharding/partner.go @@ -106,7 +106,7 @@ var partnerV1 = MustNewInstance( partnerReshardingEpoch, PartnerSchedule.BlocksPerEpoch(), ) var partnerV2 = MustNewInstance( - 2, 5, 4, 0, + 2, 20, 4, 0, numeric.MustNewDecFromStr("0.9"), genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, emptyAllowlist, feeCollectorsDevnet[1], numeric.MustNewDecFromStr("0.25"), @@ -114,8 +114,8 @@ var partnerV2 = MustNewInstance( PartnerSchedule.BlocksPerEpoch(), ) var partnerV3 = MustNewInstance( - 2, 5, 1, 0, - numeric.MustNewDecFromStr("0.1"), genesis.TNHarmonyAccounts, + 2, 20, 1, 0, + numeric.MustNewDecFromStr("0.0"), genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, emptyAllowlist, feeCollectorsDevnet[1], numeric.MustNewDecFromStr("0.25"), hip30CollectionAddressTestnet, partnerReshardingEpoch, diff --git a/internal/params/config.go b/internal/params/config.go index ade35adbd..e24d75314 100644 --- a/internal/params/config.go +++ b/internal/params/config.go @@ -205,8 +205,8 @@ var ( SlotsLimitedEpoch: EpochTBD, // epoch to enable HIP-16 CrossShardXferPrecompileEpoch: big.NewInt(5), AllowlistEpoch: EpochTBD, - LeaderRotationInternalValidatorsEpoch: big.NewInt(4), - LeaderRotationExternalValidatorsEpoch: big.NewInt(4), + LeaderRotationInternalValidatorsEpoch: big.NewInt(12), + LeaderRotationExternalValidatorsEpoch: big.NewInt(12), FeeCollectEpoch: big.NewInt(5), ValidatorCodeFixEpoch: big.NewInt(5), HIP30Epoch: big.NewInt(7),