diff --git a/local-interchain/rust/localic-std/src/modules/cosmwasm.rs b/local-interchain/rust/localic-std/src/modules/cosmwasm.rs index ec978c668..4044731a2 100644 --- a/local-interchain/rust/localic-std/src/modules/cosmwasm.rs +++ b/local-interchain/rust/localic-std/src/modules/cosmwasm.rs @@ -163,7 +163,7 @@ impl CosmWasm<'_> { let src: String = format!("wasm.{}", contract_addr.as_str()); let dst = format!("wasm.{}", dst_contract_addr.as_str()); - r.create_connection(path, src.as_str(), dst.as_str(), order, version) + r.create_channel(path, src.as_str(), dst.as_str(), order, version) } } diff --git a/local-interchain/rust/localic-std/src/relayer.rs b/local-interchain/rust/localic-std/src/relayer.rs index ef6c8fd9e..a509b5ab9 100644 --- a/local-interchain/rust/localic-std/src/relayer.rs +++ b/local-interchain/rust/localic-std/src/relayer.rs @@ -76,8 +76,8 @@ impl Relayer<'_> { /// # Errors /// - /// Returns `Err` if the relayer is not able to create the connection between 2 channels. - pub fn create_connection( + /// Returns `Err` if the relayer is not able to create the channel between 2 channels. + pub fn create_channel( &self, path: &str, src: &str, diff --git a/local-interchain/rust/main/src/main.rs b/local-interchain/rust/main/src/main.rs index fd6ef4cbf..b1836bc93 100644 --- a/local-interchain/rust/main/src/main.rs +++ b/local-interchain/rust/main/src/main.rs @@ -83,7 +83,7 @@ fn test_ibc_contract_relaying(node: &Chain, rb1: &ChainRequestBuilder, rb2: &Cha println!("contract_b: {cb:?}"); // example: manual relayer connection - // let wc = relayer.create_connection( + // let wc = relayer.create_channel( // "juno-ibc-1", // format!("wasm.{}", &contract_a.contract_addr.as_ref().unwrap()).as_str(), // format!("wasm.{}", &contract_b.contract_addr.as_ref().unwrap()).as_str(),