Launches the execution node and returns its handle.
(self, ctx: CliContext)
| 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> { |