MCPcopy Create free account
hub / github.com/base/base / launch

Method launch

crates/execution/cli/src/node.rs:348–361  ·  view source on GitHub ↗

Launches the execution node and returns its handle.

(self, ctx: CliContext)

Source from the content-addressed store, hash-verified

346
347 /// Launches the execution node and returns its handle.
348 pub async fn launch<Rpc>(self, ctx: CliContext) -> eyre::Result<LaunchedBaseNode>
349 where
350 Rpc: RpcModuleValidator,
351 {
352 let (execution, standard) = self.into_runtime_config();
353 let upgrade_signal_startup = execution.upgrade_signal_startup;
354 let builder = execution.into_node_builder::<Rpc>(ctx)?;
355 crate::StandardBaseRethNode::launch_with_upgrade_signal_startup(
356 builder,
357 standard,
358 upgrade_signal_startup,
359 )
360 .await
361 }
362
363 /// Launches the execution node with the default RPC module validator.
364 pub async fn launch_default(self, ctx: CliContext) -> eyre::Result<LaunchedBaseNode> {

Callers 5

startMethod · 0.45
startMethod · 0.45
searcher_reactionsFunction · 0.45
test_admin_external_ipFunction · 0.45
runMethod · 0.45

Calls 1

into_runtime_configMethod · 0.80

Tested by 2

searcher_reactionsFunction · 0.36
test_admin_external_ipFunction · 0.36