Trait ibc_test_framework::framework::binary::channel::BinaryChannelTest
source · pub trait BinaryChannelTest {
// Required method
fn run<ChainA: ChainHandle, ChainB: ChainHandle>(
&self,
config: &TestConfig,
relayer: RelayerDriver,
chains: ConnectedChains<ChainA, ChainB>,
channels: ConnectedChannel<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, together with connected IBC channels with completed handshakes.
Required Methods§
sourcefn run<ChainA: ChainHandle, ChainB: ChainHandle>(
&self,
config: &TestConfig,
relayer: RelayerDriver,
chains: ConnectedChains<ChainA, ChainB>,
channels: ConnectedChannel<ChainA, ChainB>
) -> Result<(), Error>
fn run<ChainA: ChainHandle, ChainB: ChainHandle>( &self, config: &TestConfig, relayer: RelayerDriver, chains: ConnectedChains<ChainA, ChainB>, channels: ConnectedChannel<ChainA, ChainB> ) -> Result<(), Error>
Test runner
Object Safety§
This trait is not object safe.