diff --git a/bin/reth/src/cli/ext.rs b/bin/reth/src/cli/ext.rs index ef2d52b654..eea3695e2e 100644 --- a/bin/reth/src/cli/ext.rs +++ b/bin/reth/src/cli/ext.rs @@ -173,6 +173,25 @@ impl NoArgs { } impl RethNodeCommandConfig for NoArgs { + fn on_components_initialized( + &mut self, + components: &Reth, + ) -> eyre::Result<()> { + if let Some(conf) = self.inner_mut() { + conf.on_components_initialized(components) + } else { + Ok(()) + } + } + + fn on_node_started(&mut self, components: &Reth) -> eyre::Result<()> { + if let Some(conf) = self.inner_mut() { + conf.on_node_started(components) + } else { + Ok(()) + } + } + fn extend_rpc_modules( &mut self, config: &Conf,