Converts parsed args into a launchable standard execution node configuration.
(self, chain: Arc<BaseChainSpec>)
| 178 | impl 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. |