babe: enable equivocation reporting on all runtimes (#1330)

* enable BABE equivocation reporting on all runtimes

* runtime: fix parachains mock test runtime

* cargo update -p sp-io

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
André Silva
2020-07-04 14:19:58 +01:00
committed by GitHub
parent f77b8139c0
commit 19ef40a7c9
8 changed files with 329 additions and 143 deletions
+14
View File
@@ -1834,6 +1834,20 @@ mod tests {
// session module is the trigger
type EpochChangeTrigger = babe::ExternalTrigger;
type KeyOwnerProofSystem = ();
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
KeyTypeId,
babe::AuthorityId,
)>>::Proof;
type KeyOwnerIdentification = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
KeyTypeId,
babe::AuthorityId,
)>>::IdentificationTuple;
type HandleEquivocation = ();
}
parameter_types! {