pub fn mock_ibc_channel(my_channel_id: &str, order: IbcOrder, version: &str) -> IbcChannel {
    IbcChannel {
        endpoint: IbcEndpoint {
            port_id: "my_port".to_string(),
            channel_id: my_channel_id.to_string(),
        },
        counterparty_endpoint: IbcEndpoint {
            port_id: "their_port".to_string(),
            channel_id: "channel-7".to_string(),
        },
        order,
        version: version.to_string(),
        counterparty_version: Some(version.to_string()),
        connection_id: "connection-2".to_string(),
    }
}
/// Creates an IbcChannel for testing. You set a few key parameters for handshaking,
/// If you want to set more, use this as a default and mutate other fields
Creates an IbcChannel for testing. You set a few key parameters for handshaking,
If you want to set more, use this as a default and mutate other fields
Creates an IbcChannel for testing . You set a few key parameters for handshaking If you want to set more use this as a default and mutate other fields
pub fn mock_ibc_channel(my_channel_id: &str, order: IbcOrder, version: &str) -> IbcChannel {
    IbcChannel {
        endpoint: IbcEndpoint {
            port_id: "my_port".to_string(),
            channel_id: my_channel_id.to_string(),
        },
        counterparty_endpoint: IbcEndpoint {
            port_id: "their_port".to_string(),
            channel_id: "channel-7".to_string(),
        },
        order,
        version: version.to_string(),
        counterparty_version: Some(version.to_string()),
        connection_id: "connection-2".to_string(),
    }
}
pub fn mock_ibc_channel ( my_channel_id : & str , order : IbcOrder , version : & str ) -> IbcChannel { IbcChannel { endpoint : IbcEndpoint { port_id : " " . to_string ( ) , channel_id : my_channel_id . to_string ( ) , } , counterparty_endpoint : IbcEndpoint { port_id : " " . to_string ( ) , channel_id : " " . to_string ( ) , } , order , version : version . to_string ( ) , counterparty_version : Some ( version . to_string ( ) ) , connection_id : " " . to_string ( ) , } }
Creates an IbcChannel for testing.
Creates an IbcChannel for testing .
my_channel_id
&str
order
IbcOrder
version
&str