mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Increase max rewardable nominators (#6230)
* Increase max rewardable nominators * update kusama as well
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user