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

Method launch

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

Launches the execution node and returns its handle.

(self, ctx: CliContext)

Source from the content-addressed store, hash-verified

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

Callers 5

startMethod · 0.45
startMethod · 0.45
new_with_node_configMethod · 0.45
test_admin_external_ipFunction · 0.45
runMethod · 0.45

Calls 1

into_runtime_configMethod · 0.80

Tested by 1

test_admin_external_ipFunction · 0.36