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§

source

fn channel_port_a(&self) -> PortId

Return the port ID for chain A.

source

fn channel_port_b(&self) -> PortId

Return the port ID for chain B.

Implementors§