runtime: define NextSessionRotation in im-online instances (#2602)

* runtime: define NextSessionRotation in im-online instances

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
André Silva
2021-03-12 13:55:34 +00:00
committed by GitHub
parent acdcab05f9
commit 7966d2b4b7
5 changed files with 149 additions and 153 deletions
+145 -149
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -643,8 +643,8 @@ impl pallet_im_online::Config for Runtime {
type AuthorityId = ImOnlineId; type AuthorityId = ImOnlineId;
type Event = Event; type Event = Event;
type ValidatorSet = Historical; type ValidatorSet = Historical;
type NextSessionRotation = Babe;
type ReportUnresponsiveness = Offences; type ReportUnresponsiveness = Offences;
type SessionDuration = SessionDuration;
type UnsignedPriority = ImOnlineUnsignedPriority; type UnsignedPriority = ImOnlineUnsignedPriority;
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>; type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
} }
+1 -1
View File
@@ -688,7 +688,7 @@ impl pallet_im_online::Config for Runtime {
type AuthorityId = ImOnlineId; type AuthorityId = ImOnlineId;
type Event = Event; type Event = Event;
type ValidatorSet = Historical; type ValidatorSet = Historical;
type SessionDuration = SessionDuration; type NextSessionRotation = Babe;
type ReportUnresponsiveness = Offences; type ReportUnresponsiveness = Offences;
type UnsignedPriority = ImOnlineUnsignedPriority; type UnsignedPriority = ImOnlineUnsignedPriority;
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>; type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
+1 -1
View File
@@ -338,8 +338,8 @@ impl pallet_im_online::Config for Runtime {
type AuthorityId = ImOnlineId; type AuthorityId = ImOnlineId;
type Event = Event; type Event = Event;
type ValidatorSet = Historical; type ValidatorSet = Historical;
type NextSessionRotation = Babe;
type ReportUnresponsiveness = Offences; type ReportUnresponsiveness = Offences;
type SessionDuration = SessionDuration;
type UnsignedPriority = StakingUnsignedPriority; type UnsignedPriority = StakingUnsignedPriority;
type WeightInfo = (); type WeightInfo = ();
} }
+1 -1
View File
@@ -423,8 +423,8 @@ impl pallet_im_online::Config for Runtime {
type AuthorityId = ImOnlineId; type AuthorityId = ImOnlineId;
type Event = Event; type Event = Event;
type ValidatorSet = Historical; type ValidatorSet = Historical;
type NextSessionRotation = Babe;
type ReportUnresponsiveness = Offences; type ReportUnresponsiveness = Offences;
type SessionDuration = SessionDuration;
type UnsignedPriority = StakingUnsignedPriority; type UnsignedPriority = StakingUnsignedPriority;
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>; type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
} }