Companion for Substrate#13411: frame/beefy: prune entries in set id session mapping (#6743)

* rococo-runtime: configure pallet_beefy::MaxSetIdSessionEntries

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Adrian Catangiuandparity-processbot authored and GitHub committed 2023-02-21 11:30:19 +00:00
1 parent d091a84a07
commit 09df3f1ec8
2 files changed
+187 -182

No files matched your search

+182 -182
View File
File diff suppressed because it is too large. Load diff
+5
View File
@@ -1247,6 +1247,10 @@ impl pallet_nis::Config for Runtime {
type ReserveId = NisReserveId;
}
parameter_types! {
pub const BeefySetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get();
}
impl pallet_beefy::Config for Runtime {
type BeefyId = BeefyId;
type KeyOwnerProofSystem = Historical;
@@ -1263,6 +1267,7 @@ impl pallet_beefy::Config for Runtime {
ReportLongevity,
>;
type MaxAuthorities = MaxAuthorities;
type MaxSetIdSessionEntries = BeefySetIdSessionEntries;
type OnNewValidatorSet = MmrLeaf;
type WeightInfo = ();
}