Skip to content

Commit

Permalink
Change LiquidityNetInDirection return type to sdk math (#8509)
Browse files Browse the repository at this point in the history
* change cl return type to sdk math

* Add changelog
  • Loading branch information
mattverse authored Jul 17, 2024
1 parent 5a97a43 commit 06359c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* [#8169](https://github.com/osmosis-labs/osmosis/pull/8169) [#8250](https://github.com/osmosis-labs/osmosis/pull/8250) [#8276](https://github.com/osmosis-labs/osmosis/pull/8276) [#8320](https://github.com/osmosis-labs/osmosis/pull/8320) Support non-pool assets in superfluid staking
* [#8274](https://github.com/osmosis-labs/osmosis/pull/8274) SDK v50 and Comet v0.38 upgrade
* [#8375](https://github.com/osmosis-labs/osmosis/pull/8375) Enforce sub-authenticator to be greater than 1
* [#8509](https://github.com/osmosis-labs/osmosis/pull/8509) Change LiquidityNetInDirection return type to sdk math

### State Compatible
* [#8494](https://github.com/osmosis-labs/osmosis/pull/8494) Add additional events in x/lockup, x/superfluid, x/concentratedliquidity
Expand Down
3 changes: 2 additions & 1 deletion x/concentrated-liquidity/types/cl_pool_extensionI.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package types
import (
"time"

sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/osmosis-labs/osmosis/osmomath"
Expand All @@ -21,7 +22,7 @@ type ConcentratedPoolExtension interface {
GetCurrentTick() int64
GetExponentAtPriceOne() int64
GetTickSpacing() uint64
GetLiquidity() osmomath.Dec
GetLiquidity() sdkmath.LegacyDec
GetLastLiquidityUpdate() time.Time
SetCurrentSqrtPrice(newSqrtPrice osmomath.BigDec)
SetCurrentTick(newTick int64)
Expand Down

0 comments on commit 06359c7

Please sign in to comment.