companion for 14754: cli: move no-beefy flag to sc-cli (#7600)

* cli: move no-beefy flag to substrate sc-cli config

* bump substrate ref

---------

Signed-off-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
Adrian Catangiu
2023-08-11 18:30:58 +03:00
committed by GitHub
parent 693a29da1a
commit 26adab4f7c
7 changed files with 195 additions and 202 deletions
+1 -2
View File
@@ -629,7 +629,6 @@ where
pub struct NewFullParams<OverseerGenerator: OverseerGen> {
pub is_collator: IsCollator,
pub grandpa_pause: Option<(u32, u32)>,
pub enable_beefy: bool,
pub jaeger_agent: Option<std::net::SocketAddr>,
pub telemetry_worker_handle: Option<TelemetryWorkerHandle>,
/// The version of the node. TESTING ONLY: `None` can be passed to skip the node/worker version
@@ -711,7 +710,6 @@ pub fn new_full<OverseerGenerator: OverseerGen>(
NewFullParams {
is_collator,
grandpa_pause,
enable_beefy,
jaeger_agent,
telemetry_worker_handle,
node_version,
@@ -746,6 +744,7 @@ pub fn new_full<OverseerGenerator: OverseerGen>(
Some(backoff)
};
let enable_beefy = !config.disable_beefy;
// If not on a known test network, warn the user that BEEFY is still experimental.
if enable_beefy &&
!config.chain_spec.is_rococo() &&