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
@@ -475,6 +475,10 @@ impl pallet_staking::Config for Runtime {
type UnixTime = Timestamp;
type CurrencyToVote = CurrencyToVote;
type ElectionProvider = ElectionProviderMultiPhase;
type GenesisElectionProvider =
frame_election_provider_support::onchain::OnChainSequentialPhragmen<
pallet_election_provider_multi_phase::OnChainConfig<Self>
>;
type RewardRemainder = Treasury;
type Event = Event;
type Slash = Treasury;