companion for staking/election: prolonged era and emergency mode for governance submission. (#3201)

* companion

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Guillaume Thiolliereandparity-processbot authored and GitHub committed 2021-06-14 14:33:55 +00:00
1 parent e05bd988ed
commit 0ca6ee45b5
8 files changed
+182 -155

No files matched your search

+4
View File
@@ -420,6 +420,10 @@ impl pallet_staking::Config for Runtime {
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
type NextNewSession = Session;
type ElectionProvider = ElectionProviderMultiPhase;
type GenesisElectionProvider =
frame_election_provider_support::onchain::OnChainSequentialPhragmen<
pallet_election_provider_multi_phase::OnChainConfig<Self>
>;
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
}