Skip to content
Snippets Groups Projects
Commit 09df3f1e authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

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 <>
parent d091a84a
No related merge requests found
This diff is collapsed.
......@@ -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 = ();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment