From ec07677c6b299ae42805d73ed3b43c317f991a5d Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Mon, 14 Jun 2021 20:10:41 +0100 Subject: [PATCH] FallbackStrategy::Nothing (#3088) --- runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 4fd091a04ff1..d73fedc0eb9b 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -350,7 +350,7 @@ parameter_types! { // fallback: run election on-chain. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = - pallet_election_provider_multi_phase::FallbackStrategy::OnChain; + pallet_election_provider_multi_phase::FallbackStrategy::Nothing; pub SolutionImprovementThreshold: Perbill = Perbill::from_rational(5u32, 10_000); // miner configs diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 4ab27194d9f7..07ab7fb1e7fc 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -331,7 +331,7 @@ parameter_types! { // fallback: run election on-chain. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = - pallet_election_provider_multi_phase::FallbackStrategy::OnChain; + pallet_election_provider_multi_phase::FallbackStrategy::Nothing; pub SolutionImprovementThreshold: Perbill = Perbill::from_rational(5u32, 10_000); // miner configs diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index e4dc9ce12581..33dcc39eb49b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -341,7 +341,7 @@ parameter_types! { // fallback: run election on-chain. pub const Fallback: pallet_election_provider_multi_phase::FallbackStrategy = - pallet_election_provider_multi_phase::FallbackStrategy::OnChain; + pallet_election_provider_multi_phase::FallbackStrategy::Nothing; pub SolutionImprovementThreshold: Perbill = Perbill::from_rational(5u32, 10_000);