Trait ibc_test_framework::framework::binary::channel::PortsOverride
source · pub trait PortsOverride {
// Required methods
fn channel_port_a(&self) -> PortId;
fn channel_port_b(&self) -> PortId;
}Expand description
An internal trait that can be implemented by test cases to override the port IDs used when creating the channels.
This is called by RunBinaryChannelTest before creating
the IBC channels.
Test writers should implement
TestOverrides
for their test cases instead of implementing this trait directly.
Required Methods§
sourcefn channel_port_a(&self) -> PortId
fn channel_port_a(&self) -> PortId
Return the port ID for chain A.
sourcefn channel_port_b(&self) -> PortId
fn channel_port_b(&self) -> PortId
Return the port ID for chain B.