diff --git a/CHANGELOG.md b/CHANGELOG.md index 09146d36213..1c139d8604a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * [#6840](https://github.com/osmosis-labs/osmosis/pull/6840) fix: change TypeMsgUnbondConvertAndStake value to "unbond_convert_and_stake" and improve error message when epoch currentEpochStartHeight less than zero * [#6769](https://github.com/osmosis-labs/osmosis/pull/6769) fix: improve dust handling in EstimateTradeBasedOnPriceImpact +* [#6841](https://github.com/osmosis-labs/osmosis/pull/6841) fix: fix receive_ack response field and imporove error message of InvalidCrosschainSwapsContract and NoDenomTrace ## v20.0.0 diff --git a/cosmwasm/contracts/crosschain-swaps/src/ibc_lifecycle.rs b/cosmwasm/contracts/crosschain-swaps/src/ibc_lifecycle.rs index 3a0d65f3c81..f80e7176449 100644 --- a/cosmwasm/contracts/crosschain-swaps/src/ibc_lifecycle.rs +++ b/cosmwasm/contracts/crosschain-swaps/src/ibc_lifecycle.rs @@ -84,7 +84,7 @@ pub fn receive_ack( Ok(response .add_attribute("msg", "recovery stored") - .add_attribute("reecovery_addr", recovery_addr)) + .add_attribute("recovery_addr", recovery_addr)) } // This is very similar to the handling of acks, but it always creates a diff --git a/cosmwasm/contracts/outpost/src/error.rs b/cosmwasm/contracts/outpost/src/error.rs index 7ce0f89ca9d..6c1c0f2e1df 100644 --- a/cosmwasm/contracts/outpost/src/error.rs +++ b/cosmwasm/contracts/outpost/src/error.rs @@ -28,7 +28,7 @@ pub enum ContractError { #[error("SwapAmountTooHigh: got {received}, max allowed: {max}")] SwapAmountTooHigh { received: u128, max: u128 }, - #[error("Invalid Crosschain Swpas Contract: {contract}")] + #[error("Invalid Crosschain Swaps Contract: {contract}")] InvalidCrosschainSwapsContract { contract: String }, #[error("Custom Error val: {val:?}")] diff --git a/cosmwasm/packages/registry/src/error.rs b/cosmwasm/packages/registry/src/error.rs index 1471b063c19..c331030c2cc 100644 --- a/cosmwasm/packages/registry/src/error.rs +++ b/cosmwasm/packages/registry/src/error.rs @@ -39,7 +39,7 @@ pub enum RegistryError { #[error("denom {denom:?} is not an IBC denom")] InvalidIBCDenom { denom: String }, - #[error("No deom trace found for: {denom:?}")] + #[error("No denom trace found for: {denom:?}")] NoDenomTrace { denom: String }, #[error("Invalid denom trace: {error}")] diff --git a/tests/ibc-hooks/bytecode/crosschain_swaps.wasm b/tests/ibc-hooks/bytecode/crosschain_swaps.wasm index fad81ac1dce..a8a57e81e6a 100644 Binary files a/tests/ibc-hooks/bytecode/crosschain_swaps.wasm and b/tests/ibc-hooks/bytecode/crosschain_swaps.wasm differ diff --git a/tests/ibc-hooks/bytecode/outpost.wasm b/tests/ibc-hooks/bytecode/outpost.wasm index f8ec8d357e9..c0e2d67c84f 100644 Binary files a/tests/ibc-hooks/bytecode/outpost.wasm and b/tests/ibc-hooks/bytecode/outpost.wasm differ