mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 06:57:58 +00:00
Start BEEFY client by default for Polkadot nodes (#1913)
Fellowship companion: https://github.com/polkadot-fellows/runtimes/pull/65 This starts the BEEFY client by default for Polkadot nodes. Governance/sudo call is later required to enable/start consensus. Part of https://github.com/paritytech/parity-bridges-common/issues/2420
This commit is contained in:
@@ -195,9 +195,8 @@ where
|
||||
.map_err(Error::from)?;
|
||||
let chain_spec = &runner.config().chain_spec;
|
||||
|
||||
// By default, enable BEEFY on all networks except Polkadot (for now), unless
|
||||
// explicitly disabled through CLI.
|
||||
let mut enable_beefy = !chain_spec.is_polkadot() && !cli.run.no_beefy;
|
||||
// By default, enable BEEFY on all networks, unless explicitly disabled through CLI.
|
||||
let mut enable_beefy = !cli.run.no_beefy;
|
||||
// BEEFY doesn't (yet) support warp sync:
|
||||
// Until we implement https://github.com/paritytech/substrate/issues/14756
|
||||
// - disallow warp sync for validators,
|
||||
|
||||
Reference in New Issue
Block a user