mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 02:21:04 +00:00
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:
Generated
+134
-134
File diff suppressed because it is too large
Load Diff
@@ -193,6 +193,8 @@ impl pallet_babe::Trait for Runtime {
|
|||||||
|
|
||||||
type HandleEquivocation =
|
type HandleEquivocation =
|
||||||
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
@@ -586,6 +588,8 @@ impl pallet_grandpa::Trait for Runtime {
|
|||||||
)>>::IdentificationTuple;
|
)>>::IdentificationTuple;
|
||||||
|
|
||||||
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
|
|||||||
@@ -210,7 +210,9 @@ impl pallet_babe::Trait for Runtime {
|
|||||||
)>>::IdentificationTuple;
|
)>>::IdentificationTuple;
|
||||||
|
|
||||||
type HandleEquivocation =
|
type HandleEquivocation =
|
||||||
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
@@ -642,6 +644,8 @@ impl pallet_grandpa::Trait for Runtime {
|
|||||||
type KeyOwnerProofSystem = Historical;
|
type KeyOwnerProofSystem = Historical;
|
||||||
|
|
||||||
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
|
|||||||
@@ -667,6 +667,8 @@ impl pallet_babe::Trait for Runtime {
|
|||||||
|
|
||||||
type HandleEquivocation =
|
type HandleEquivocation =
|
||||||
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
@@ -700,6 +702,8 @@ impl pallet_grandpa::Trait for Runtime {
|
|||||||
)>>::IdentificationTuple;
|
)>>::IdentificationTuple;
|
||||||
|
|
||||||
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
|
|||||||
@@ -157,6 +157,8 @@ impl pallet_babe::Trait for Runtime {
|
|||||||
)>>::IdentificationTuple;
|
)>>::IdentificationTuple;
|
||||||
|
|
||||||
type HandleEquivocation = ();
|
type HandleEquivocation = ();
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
@@ -323,6 +325,8 @@ impl pallet_grandpa::Trait for Runtime {
|
|||||||
)>>::IdentificationTuple;
|
)>>::IdentificationTuple;
|
||||||
|
|
||||||
type HandleEquivocation = ();
|
type HandleEquivocation = ();
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<LocalCall> frame_system::offchain::CreateSignedTransaction<LocalCall> for Runtime where
|
impl<LocalCall> frame_system::offchain::CreateSignedTransaction<LocalCall> for Runtime where
|
||||||
|
|||||||
@@ -184,6 +184,8 @@ impl pallet_babe::Trait for Runtime {
|
|||||||
|
|
||||||
type HandleEquivocation =
|
type HandleEquivocation =
|
||||||
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
pallet_babe::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
@@ -393,6 +395,8 @@ impl pallet_grandpa::Trait for Runtime {
|
|||||||
)>>::IdentificationTuple;
|
)>>::IdentificationTuple;
|
||||||
|
|
||||||
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
type HandleEquivocation = pallet_grandpa::EquivocationHandler<Self::KeyOwnerIdentification, Offences>;
|
||||||
|
|
||||||
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
|
|||||||
Reference in New Issue
Block a user