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

Companion for Polkadot#7337 #2929

Merged
merged 10 commits into from
Aug 1, 2023
32 changes: 21 additions & 11 deletions client/relay-chain-inprocess-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,27 @@ fn build_polkadot_full_node(

let relay_chain_full_node = polkadot_service::build_full(
config,
is_collator,
None,
// Disable BEEFY. It should not be required by the internal relay chain node.
false,
None,
telemetry_worker_handle,
true,
polkadot_service::RealOverseerGen,
None,
None,
hwbench,
polkadot_service::NewFullParams {
is_collator,
grandpa_pause: None,
// Disable BEEFY. It should not be required by the internal relay chain node.
enable_beefy: false,
jaeger_agent: None,
telemetry_worker_handle,

// Cumulus doesn't spawn PVF workers, so we can disable version checks and secure
// external workers.
node_version: None,
workers_path: None,
workers_names: None,
dont_use_external_workers: true,

overseer_enable_anyways: true,
overseer_gen: polkadot_service::RealOverseerGen,
overseer_message_channel_capacity_override: None,
malus_finality_delay: None,
hwbench,
},
)?;

Ok((relay_chain_full_node, maybe_collator_key))
Expand Down