Companion for 7155 (WeightInfo for Babe and Grandpa) (#1736)

* Add WeightInfo to traits

* Update Cargo.lock

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2020-09-21 16:03:26 +02:00
committed by GitHub
parent e81506540e
commit 9b099a22ac
6 changed files with 155 additions and 135 deletions
+4
View File
@@ -184,6 +184,8 @@ impl pallet_babe::Trait for Runtime {
type HandleEquivocation =
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
type WeightInfo = ();
}
parameter_types! {
@@ -393,6 +395,8 @@ impl pallet_grandpa::Trait for Runtime {
)>>::IdentificationTuple;
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
type WeightInfo = ();
}
parameter_types! {