Companion for substrate#9414 (#3524)

* Companion for substrate#9414

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
André Silva
2021-08-03 12:36:23 +01:00
committed by GitHub
parent 90e6d318c7
commit e9a6689e79
7 changed files with 165 additions and 154 deletions
+154 -154
View File
File diff suppressed because it is too large Load Diff
@@ -114,6 +114,7 @@ impl pallet_babe::Config for Test {
type EpochDuration = EpochDuration; type EpochDuration = EpochDuration;
type ExpectedBlockTime = ExpectedBlockTime; type ExpectedBlockTime = ExpectedBlockTime;
type EpochChangeTrigger = pallet_babe::ExternalTrigger; type EpochChangeTrigger = pallet_babe::ExternalTrigger;
type DisabledValidators = ();
type KeyOwnerProofSystem = (); type KeyOwnerProofSystem = ();
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<( type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
KeyTypeId, KeyTypeId,
+2
View File
@@ -222,6 +222,8 @@ impl pallet_babe::Config for Runtime {
// session module is the trigger // session module is the trigger
type EpochChangeTrigger = pallet_babe::ExternalTrigger; type EpochChangeTrigger = pallet_babe::ExternalTrigger;
type DisabledValidators = Session;
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<( type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
KeyTypeId, KeyTypeId,
pallet_babe::AuthorityId, pallet_babe::AuthorityId,
+2
View File
@@ -227,6 +227,8 @@ impl pallet_babe::Config for Runtime {
// session module is the trigger // session module is the trigger
type EpochChangeTrigger = pallet_babe::ExternalTrigger; type EpochChangeTrigger = pallet_babe::ExternalTrigger;
type DisabledValidators = Session;
type KeyOwnerProofSystem = Historical; type KeyOwnerProofSystem = Historical;
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<( type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
+2
View File
@@ -488,6 +488,8 @@ impl pallet_babe::Config for Runtime {
// session module is the trigger // session module is the trigger
type EpochChangeTrigger = pallet_babe::ExternalTrigger; type EpochChangeTrigger = pallet_babe::ExternalTrigger;
type DisabledValidators = Session;
type KeyOwnerProofSystem = Historical; type KeyOwnerProofSystem = Historical;
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<( type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
+2
View File
@@ -167,6 +167,8 @@ impl pallet_babe::Config for Runtime {
// session module is the trigger // session module is the trigger
type EpochChangeTrigger = pallet_babe::ExternalTrigger; type EpochChangeTrigger = pallet_babe::ExternalTrigger;
type DisabledValidators = ();
type KeyOwnerProofSystem = (); type KeyOwnerProofSystem = ();
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<( type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(
+2
View File
@@ -209,6 +209,8 @@ impl pallet_babe::Config for Runtime {
// session module is the trigger // session module is the trigger
type EpochChangeTrigger = pallet_babe::ExternalTrigger; type EpochChangeTrigger = pallet_babe::ExternalTrigger;
type DisabledValidators = Session;
type KeyOwnerProofSystem = Historical; type KeyOwnerProofSystem = Historical;
type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<( type KeyOwnerProof = <Self::KeyOwnerProofSystem as KeyOwnerProofSystem<(