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 Thiolliere
2021-06-14 16:33:55 +02:00
committed by GitHub
parent e05bd988ed
commit 0ca6ee45b5
8 changed files with 182 additions and 155 deletions
+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>;
}