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

+2
View File
@@ -341,6 +341,8 @@ impl pallet_staking::Config for Runtime {
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
type NextNewSession = Session;
type ElectionProvider = frame_election_provider_support::onchain::OnChainSequentialPhragmen<Self>;
type GenesisElectionProvider =
frame_election_provider_support::onchain::OnChainSequentialPhragmen<Self>;
type WeightInfo = ();
}