prepare devnet reset (#4615)

pull/4619/head
Diego Nava 10 months ago committed by GitHub
parent 17a2522391
commit 51a1ffe350
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      internal/configs/sharding/partner.go
  2. 4
      internal/params/config.go

@ -106,7 +106,7 @@ var partnerV1 = MustNewInstance(
partnerReshardingEpoch, PartnerSchedule.BlocksPerEpoch(), partnerReshardingEpoch, PartnerSchedule.BlocksPerEpoch(),
) )
var partnerV2 = MustNewInstance( var partnerV2 = MustNewInstance(
2, 5, 4, 0, 2, 20, 4, 0,
numeric.MustNewDecFromStr("0.9"), genesis.TNHarmonyAccounts, numeric.MustNewDecFromStr("0.9"), genesis.TNHarmonyAccounts,
genesis.TNFoundationalAccounts, emptyAllowlist, genesis.TNFoundationalAccounts, emptyAllowlist,
feeCollectorsDevnet[1], numeric.MustNewDecFromStr("0.25"), feeCollectorsDevnet[1], numeric.MustNewDecFromStr("0.25"),
@ -114,8 +114,8 @@ var partnerV2 = MustNewInstance(
PartnerSchedule.BlocksPerEpoch(), PartnerSchedule.BlocksPerEpoch(),
) )
var partnerV3 = MustNewInstance( var partnerV3 = MustNewInstance(
2, 5, 1, 0, 2, 20, 1, 0,
numeric.MustNewDecFromStr("0.1"), genesis.TNHarmonyAccounts, numeric.MustNewDecFromStr("0.0"), genesis.TNHarmonyAccounts,
genesis.TNFoundationalAccounts, emptyAllowlist, genesis.TNFoundationalAccounts, emptyAllowlist,
feeCollectorsDevnet[1], numeric.MustNewDecFromStr("0.25"), feeCollectorsDevnet[1], numeric.MustNewDecFromStr("0.25"),
hip30CollectionAddressTestnet, partnerReshardingEpoch, hip30CollectionAddressTestnet, partnerReshardingEpoch,

@ -205,8 +205,8 @@ var (
SlotsLimitedEpoch: EpochTBD, // epoch to enable HIP-16 SlotsLimitedEpoch: EpochTBD, // epoch to enable HIP-16
CrossShardXferPrecompileEpoch: big.NewInt(5), CrossShardXferPrecompileEpoch: big.NewInt(5),
AllowlistEpoch: EpochTBD, AllowlistEpoch: EpochTBD,
LeaderRotationInternalValidatorsEpoch: big.NewInt(4), LeaderRotationInternalValidatorsEpoch: big.NewInt(12),
LeaderRotationExternalValidatorsEpoch: big.NewInt(4), LeaderRotationExternalValidatorsEpoch: big.NewInt(12),
FeeCollectEpoch: big.NewInt(5), FeeCollectEpoch: big.NewInt(5),
ValidatorCodeFixEpoch: big.NewInt(5), ValidatorCodeFixEpoch: big.NewInt(5),
HIP30Epoch: big.NewInt(7), HIP30Epoch: big.NewInt(7),

Loading…
Cancel
Save