Skip to content

Commit

Permalink
Increase max authorities to 100000
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit authored and pLabarta committed Aug 1, 2023
1 parent 8085dd6 commit 253d12f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -289,7 +289,7 @@ impl pallet_grandpa::Config for Runtime {
pallet_grandpa::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;

type WeightInfo = ();
type MaxAuthorities = MaxAuthorties;
type MaxAuthorities = MaxAuthorities;
type MaxSetIdSessionEntries = ConstU64<0>; // used for equivocation
}

Expand Down Expand Up @@ -320,7 +320,7 @@ impl pallet_babe::Config for Runtime {
type EquivocationReportSystem =
pallet_babe::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
type WeightInfo = ();
type MaxAuthorities = MaxAuthorties;
type MaxAuthorities = MaxAuthorities;
type DisabledValidators = (); // TODO: Consider whether to use this (through the session pallet)
}

Expand Down

0 comments on commit 253d12f

Please sign in to comment.