Trait ibc_test_framework::framework::binary::chain::BinaryChainTest
source · pub trait BinaryChainTest {
// Required method
fn run<ChainA: ChainHandle, ChainB: ChainHandle>(
&self,
config: &TestConfig,
relayer: RelayerDriver,
chains: ConnectedChains<ChainA, ChainB>
) -> Result<(), Error>;
}
Expand description
This trait is implemented for test cases that need to have two full nodes running together with the relayer setup with chain handles and foreign clients.
Test writers can use this to implement test cases that only need the chains and relayers setup without the connection or channel handshake.
Required Methods§
sourcefn run<ChainA: ChainHandle, ChainB: ChainHandle>(
&self,
config: &TestConfig,
relayer: RelayerDriver,
chains: ConnectedChains<ChainA, ChainB>
) -> Result<(), Error>
fn run<ChainA: ChainHandle, ChainB: ChainHandle>( &self, config: &TestConfig, relayer: RelayerDriver, chains: ConnectedChains<ChainA, ChainB> ) -> Result<(), Error>
Test runner
Object Safety§
This trait is not object safe.