mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 22:27:56 +00:00
Adjust max nominators down to 128 (from 256) (#1782)
This commit is contained in:
@@ -327,7 +327,7 @@ parameter_types! {
|
||||
// 27 eras in which slashes can be cancelled (slightly less than 7 days).
|
||||
pub const SlashDeferDuration: pallet_staking::EraIndex = 27;
|
||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
||||
pub const MaxNominatorRewardedPerValidator: u32 = 128;
|
||||
// quarter of the last session will be for election.
|
||||
pub const ElectionLookahead: BlockNumber = EPOCH_DURATION_IN_BLOCKS / 4;
|
||||
pub const MaxIterations: u32 = 10;
|
||||
|
||||
@@ -334,7 +334,7 @@ parameter_types! {
|
||||
pub const BondingDuration: pallet_staking::EraIndex = 28;
|
||||
pub const SlashDeferDuration: pallet_staking::EraIndex = 27;
|
||||
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
|
||||
pub const MaxNominatorRewardedPerValidator: u32 = 256;
|
||||
pub const MaxNominatorRewardedPerValidator: u32 = 128;
|
||||
// last 15 minutes of the last session will be for election.
|
||||
pub const ElectionLookahead: BlockNumber = EPOCH_DURATION_IN_BLOCKS / 16;
|
||||
pub const MaxIterations: u32 = 10;
|
||||
|
||||
Reference in New Issue
Block a user