Unverified Commit 192fbcbe authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

enable ApprovalCheckingVotingRule on Polkadot (#4072)

* enable ApprovalCheckingVotingRule on Polkadot

* fmt
parent 43dccfb3
Pipeline #162322 passed with stages
in 35 minutes and 11 seconds
......@@ -723,17 +723,9 @@ where
let chain_spec = config.chain_spec.cloned_box();
// we should remove this check before we deploy parachains on polkadot
// TODO: https://github.com/paritytech/polkadot/issues/3326
let is_relay_chain = chain_spec.is_kusama() ||
chain_spec.is_westend() ||
chain_spec.is_rococo() ||
chain_spec.is_wococo();
let local_keystore = basics.keystore_container.local_keystore();
let requires_overseer_for_chain_sel = local_keystore.is_some() &&
is_relay_chain &&
(role.is_authority() || is_collator.is_collator());
let requires_overseer_for_chain_sel =
local_keystore.is_some() && (role.is_authority() || is_collator.is_collator());
let select_chain = SelectRelayChain::new(
basics.backend.clone(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment