diff --git a/CHANGELOG.md b/CHANGELOG.md index 185abecaf7c..0611255c383 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Misc Improvements + +* [#6788](https://github.com/osmosis-labs/osmosis/pull/6788) Improve error message when CL LP fails due to slippage bound hit. + +## v20.0.0 + ### Features * [#6468](https://github.com/osmosis-labs/osmosis/pull/6468) feat: remove osmo multihop discount diff --git a/x/concentrated-liquidity/types/errors.go b/x/concentrated-liquidity/types/errors.go index 440c73beff4..4828d40ccd0 100644 --- a/x/concentrated-liquidity/types/errors.go +++ b/x/concentrated-liquidity/types/errors.go @@ -136,7 +136,7 @@ func (e InsufficientLiquidityCreatedError) Error() string { if !e.IsTokenZero { tokenNum = 1 } - return fmt.Sprintf("insufficient amount of token %d created. Actual: (%s). Minimum (%s)", tokenNum, e.Actual, e.Minimum) + return fmt.Sprintf("slippage bound: insufficient amount of token %d created. Actual: (%s). Minimum estimated: (%s)", tokenNum, e.Actual, e.Minimum) } type NegativeLiquidityError struct {