Skip to content

Commit 6c9806c

Browse files
committed
Change MaxValidatorsCount in test runtime
1 parent 649b0f9 commit 6c9806c

File tree

1 file changed

+2
-1
lines changed
  • polkadot/runtime/test-runtime/src

1 file changed

+2
-1
lines changed

polkadot/runtime/test-runtime/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@ impl pallet_staking::Config for Runtime {
403403
type DisablingStrategy = pallet_staking::UpToLimitWithReEnablingDisablingStrategy;
404404
type MaxInvulnerables = ConstU32<20>;
405405
type MaxRewardPagesPerValidator = ConstU32<20>;
406-
type MaxValidatorsCount = MaxAuthorities;
406+
// It should be equal to MaxAuthorities, but that is too large in this setting
407+
type MaxValidatorsCount = ConstU32<300>;
407408
type MaxDisabledValidators = ConstU32<100>;
408409
}
409410

0 commit comments

Comments
 (0)