Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
add max nominators param for test runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Ank4n committed Aug 11, 2023
1 parent 87d152b commit 6899ce3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/test-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,9 @@ parameter_types! {
// 27 eras in which slashes can be cancelled (a bit less than 7 days).
pub storage SlashDeferDuration: sp_staking::EraIndex = 27;
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
pub storage MaxExposurePageSize: u16 = 64;
pub storage MaxExposurePageCount: u16 = 10;
pub const MaxExposurePageSize: u32 = 64;
pub const MaxExposurePageCount: u32 = 10;
pub storage MaxNominatorRewardedPerValidator: u32 = MaxExposurePageSize::get() * MaxExposurePageCount::get();
pub storage OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
pub const MaxAuthorities: u32 = 100_000;
pub const OnChainMaxWinners: u32 = u32::MAX;
Expand Down

0 comments on commit 6899ce3

Please sign in to comment.