mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 04:47:59 +00:00
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:
Generated
+182
-182
File diff suppressed because it is too large
Load Diff
@@ -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 = ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user