Companion PR for #8414 - Remove OffencesWeightSoftLimit (#2966)

* Remove OffencesWeightSoftLimit

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Lohann Paterno Coutinho Ferreiraandparity-processbot authored and GitHub committed 2021-05-03 09:12:39 +00:00
1 parent 002f49fb03
commit 9bbc0b4460
6 files changed
+150 -175

No files matched your search

-5
View File
@@ -401,15 +401,10 @@ parameter_types! {
pub const MaxRetries: u32 = 3;
}
parameter_types! {
pub OffencesWeightSoftLimit: Weight = Perbill::from_percent(60) * BlockWeights::get().max_block;
}
impl pallet_offences::Config for Runtime {
type Event = Event;
type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
type OnOffenceHandler = ();
type WeightSoftLimit = OffencesWeightSoftLimit;
}
impl pallet_authority_discovery::Config for Runtime {}