pub trait PortsOverride {
    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

Return the port ID for chain A.

Return the port ID for chain B.

Implementors