From 253d12f5d1c2cd9addeab1edfa7a69caff181464 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker Date: Tue, 1 Aug 2023 09:21:26 -0700 Subject: [PATCH] Increase max authorities to 100000 --- runtime/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 1adbd416f3..1e935f54c7 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -278,7 +278,7 @@ parameter_types! { BondingDuration::get() as u64 * SessionsPerEra::get() as u64 * EpochDuration::get(); } -type MaxAuthorties = ConstU32<256>; +type MaxAuthorities = ConstU32<100_000>; impl pallet_grandpa::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -289,7 +289,7 @@ impl pallet_grandpa::Config for Runtime { pallet_grandpa::EquivocationReportSystem; type WeightInfo = (); - type MaxAuthorities = MaxAuthorties; + type MaxAuthorities = MaxAuthorities; type MaxSetIdSessionEntries = ConstU64<0>; // used for equivocation } @@ -320,7 +320,7 @@ impl pallet_babe::Config for Runtime { type EquivocationReportSystem = pallet_babe::EquivocationReportSystem; type WeightInfo = (); - type MaxAuthorities = MaxAuthorties; + type MaxAuthorities = MaxAuthorities; type DisabledValidators = (); // TODO: Consider whether to use this (through the session pallet) }