Skip to content

Commit d61943a

Browse files
committed
Fix staking election in Genesis block for dev chains.
1 parent d423f26 commit d61943a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pallets/runtime/common/src/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ macro_rules! misc_pallet_impls {
361361
type UnixTime = Timestamp;
362362
type CurrencyToVote = sp_staking::currency_to_vote::U128CurrencyToVote;
363363
type ElectionProvider = ElectionProviderMultiPhase;
364-
type GenesisElectionProvider = Self::ElectionProvider;
364+
type GenesisElectionProvider = frame_election_provider_support::onchain::OnChainExecution<OnChainSeqPhragmen>;
365365
type NominationsQuota = pallet_staking::FixedNominationsQuota<16>;
366366
type HistoryDepth = polymesh_runtime_common::HistoryDepth;
367367
type RewardRemainder = ();

0 commit comments

Comments
 (0)