Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Companion for substrate#9711 #3801

Merged
6 commits merged into from
Sep 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
cargo +nightly fmt
shawntabrizi committed Sep 14, 2021
commit 57533cc7984bf2624825a4f5fa3c429ee5e77c72
3 changes: 2 additions & 1 deletion runtime/common/src/elections.rs
Original file line number Diff line number Diff line change
@@ -60,7 +60,8 @@ impl pallet_election_provider_multi_phase::BenchmarkingConfig for BenchmarkConfi
pub type OnOnChainAccuracy = sp_runtime::Perbill;

/// The election provider of the genesis
pub type GenesisElectionOf<T> = frame_election_provider_support::onchain::OnChainSequentialPhragmen<T>;
pub type GenesisElectionOf<T> =
frame_election_provider_support::onchain::OnChainSequentialPhragmen<T>;

/// Maximum number of iterations for balancing that will be executed in the embedded miner of
/// pallet-election-provider-multi-phase.