diff --git a/src/test_case.rs b/src/test_case.rs index aa59b50..debd493 100644 --- a/src/test_case.rs +++ b/src/test_case.rs @@ -294,6 +294,12 @@ pub trait TestCase: Send + Sync + 'static { BitcoinConfig::default() } + /// Returns the bridge backend configuration for the test. + /// Override this method to provide a custom bridge backend configuration. + fn bridge_backend_config() -> BridgeBackendConfig { + BridgeBackendConfig::default() + } + /// Returns the sequencer configuration for the test. /// Override this method to provide a custom sequencer configuration. fn sequencer_config() -> SequencerConfig { diff --git a/src/traits.rs b/src/traits.rs index 945d7fa..f8f7f10 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -20,8 +20,8 @@ pub enum SpawnOutput { Container(ContainerSpawnOutput), } -/// The Node trait defines the common interface shared between -/// BitcoinNode, Prover, Sequencer and FullNode +/// The [`NodeT`] trait defines the common interface shared between +/// BitcoinNode, Bridge Backend, Prover, Sequencer and FullNode #[async_trait] pub trait NodeT: Send { type Config: Send;