This repository was archived by the owner on Mar 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,10 +32,7 @@ cumulus-client-network = { git = "https://github.com/paritytech
3232cumulus-client-service = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
3333cumulus-primitives-core = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
3434cumulus-primitives-parachain-inherent = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
35- cumulus-relay-chain-inprocess-interface = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
3635cumulus-relay-chain-interface = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
37- cumulus-relay-chain-rpc-interface = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
38- cumulus-relay-chain-minimal-node = { git = " https://github.com/paritytech/cumulus.git" , branch = " polkadot-v0.9.36" }
3936
4037# darwinia
4138crab-runtime = { path = " ../runtime/crab" }
Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ pub fn run() -> Result<()> {
568568 if config. role. is_authority( ) { "yes" } else { "no" }
569569 ) ;
570570
571- if collator_options. relay_chain_rpc_url . is_some ( ) && cli. relay_chain_args . len ( ) > 0 {
571+ if ! collator_options. relay_chain_rpc_urls . is_empty ( ) && cli. relay_chain_args . len ( ) > 0 {
572572 log:: warn!( "Detected relay chain node arguments together with --relay-chain-rpc-url. This command starts a minimal Polkadot node that only uses a network-related subset of all relay chain CLI options." ) ;
573573 }
574574
Original file line number Diff line number Diff line change @@ -216,35 +216,6 @@ where
216216 } )
217217}
218218
219- async fn build_relay_chain_interface (
220- polkadot_config : sc_service:: Configuration ,
221- parachain_config : & sc_service:: Configuration ,
222- telemetry_worker_handle : Option < sc_telemetry:: TelemetryWorkerHandle > ,
223- task_manager : & mut sc_service:: TaskManager ,
224- collator_options : cumulus_client_cli:: CollatorOptions ,
225- hwbench : Option < sc_sysinfo:: HwBench > ,
226- ) -> cumulus_relay_chain_interface:: RelayChainResult < (
227- Arc < ( dyn ' static + cumulus_relay_chain_interface:: RelayChainInterface ) > ,
228- Option < polkadot_service:: CollatorPair > ,
229- ) > {
230- match collator_options. relay_chain_rpc_url {
231- Some ( relay_chain_url) =>
232- cumulus_relay_chain_minimal_node:: build_minimal_relay_chain_node (
233- polkadot_config,
234- task_manager,
235- relay_chain_url,
236- )
237- . await ,
238- None => cumulus_relay_chain_inprocess_interface:: build_inprocess_relay_chain (
239- polkadot_config,
240- parachain_config,
241- telemetry_worker_handle,
242- task_manager,
243- hwbench,
244- ) ,
245- }
246- }
247-
248219/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
249220///
250221/// This is the actual implementation that is abstract over the executor and the runtime api.
You can’t perform that action at this time.
0 commit comments