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

Method into_launch_config

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

Converts parsed args into a launchable standard execution node configuration.

(self, chain: Arc<BaseChainSpec>)

Source from the content-addressed store, hash-verified

178impl ExecutionNodeArgs {
179 /// Converts parsed args into a launchable standard execution node configuration.
180 pub fn into_launch_config(self, chain: Arc<BaseChainSpec>) -> ExecutionNodeLaunchConfig {
181 let runtime = self.node.into_runtime_config(chain);
182 ExecutionNodeLaunchConfig {
183 node_config: runtime.node_config,
184 standard: StandardNodeArgs::from(self.standard).with_metering(self.metering),
185 with_unused_ports: runtime.with_unused_ports,
186 upgrade_signal_startup: runtime.upgrade_signal_startup,
187 }
188 }
189}
190
191/// A chain-injected execution-node runtime configuration.

Calls 2

into_runtime_configMethod · 0.80
with_meteringMethod · 0.80