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