Increase max rewardable nominators (#6230)

* Increase max rewardable nominators

* update kusama as well
This commit is contained in:
Kian Paimani
2022-11-08 08:03:54 +00:00
committed by GitHub
parent 8057d45a67
commit 1ed5e1ad7e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ parameter_types! {
pub const BondingDuration: sp_staking::EraIndex = 28;
// 27 eras in which slashes can be cancelled (slightly less than 7 days).
pub const SlashDeferDuration: sp_staking::EraIndex = 27;
pub const MaxNominatorRewardedPerValidator: u32 = 256;
pub const MaxNominatorRewardedPerValidator: u32 = 512;
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
// 24
pub const MaxNominations: u32 = <NposCompactSolution24 as NposSolution>::LIMIT as u32;
+1 -1
View File
@@ -525,7 +525,7 @@ parameter_types! {
pub const BondingDuration: sp_staking::EraIndex = 28;
pub const SlashDeferDuration: sp_staking::EraIndex = 27;
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
pub const MaxNominatorRewardedPerValidator: u32 = 256;
pub const MaxNominatorRewardedPerValidator: u32 = 512;
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
// 16
pub const MaxNominations: u32 = <NposCompactSolution16 as frame_election_provider_support::NposSolution>::LIMIT as u32;