Converts parsed args into a launchable standard execution node configuration.
(self, chain: Arc<BaseChainSpec>)
| 183 | impl ExecutionNodeArgs { |
| 184 | /// Converts parsed args into a launchable standard execution node configuration. |
| 185 | pub fn into_launch_config(self, chain: Arc<BaseChainSpec>) -> ExecutionNodeLaunchConfig { |
| 186 | let runtime = self.node.into_runtime_config(chain); |
| 187 | ExecutionNodeLaunchConfig { |
| 188 | node_config: runtime.node_config, |
| 189 | standard: StandardNodeArgs::from(self.standard) |
| 190 | .with_metering(self.metering) |
| 191 | .with_shadow_indexer(self.shadow_indexer), |
| 192 | with_unused_ports: runtime.with_unused_ports, |
| 193 | upgrade_signal_startup: runtime.upgrade_signal_startup, |
| 194 | } |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | /// A chain-injected execution-node runtime configuration. |