Function ibc_test_framework::bootstrap::binary::channel::bootstrap_channel_with_chains
source · pub fn bootstrap_channel_with_chains<ChainA: ChainHandle, ChainB: ChainHandle>(
chains: &ConnectedChains<ChainA, ChainB>,
port_a: &PortId,
port_b: &PortId,
connection_options: BootstrapConnectionOptions,
channel_options: BootstrapChannelOptions
) -> Result<ConnectedChannel<ChainA, ChainB>, Report>
Expand description
Create a new ConnectedChannel
based on the provided ConnectedChains
.
Also accepts the PortId
that should be used for the two sides of the
channel.