Function ibc_test_framework::bootstrap::binary::connection::pad_connection_id
source · pub fn pad_connection_id<ChainA: ChainHandle, ChainB: ChainHandle>(
chain_a: &ChainA,
chain_b: &ChainB,
client_id_a: &TaggedClientIdRef<'_, ChainA, ChainB>,
client_id_b: &TaggedClientIdRef<'_, ChainB, ChainA>,
pad_count: u64
) -> Result<(), Error>Expand description
Create a random number of dummy connection IDs so that the bootstrapped
connection ID is random instead of being always connection-0.
This would help us catch bugs where the connection IDs are used at the wrong side of the chain, but still got accepted because the connection IDs on both sides are the same.