diff --git a/crates/node-builder/src/builder.rs b/crates/node-builder/src/builder.rs index 69147da358..db1849024f 100644 --- a/crates/node-builder/src/builder.rs +++ b/crates/node-builder/src/builder.rs @@ -1061,6 +1061,26 @@ where self } + /// Installs an ExEx (Execution Extension) in the node. + pub fn install_exex(mut self, exex: F) -> Self + where + F: Fn( + ExExContext< + FullNodeComponentsAdapter< + FullNodeTypesAdapter>, + Components::Pool, + >, + >, + ) -> R + + Send + + 'static, + R: Future> + Send, + E: Future> + Send, + { + self.builder.state.exexs.push(Box::new(exex)); + self + } + /// Launches the node and returns a handle to it. pub async fn launch( self,