Skip to content

Commit

Permalink
relax fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn committed Sep 14, 2023
1 parent c10d605 commit c07fd32
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions x/concentrated-liquidity/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,6 @@ func (s *KeeperTestSuite) swapNearInitializedTickBoundary(r *rand.Rand, pool typ
}

func (s *KeeperTestSuite) swapNearTickBoundary(r *rand.Rand, pool types.ConcentratedPoolExtension, targetTick int64, zfo bool) (didSwap bool, fatalErr bool) {
// TODO: remove this limit upon completion of the refactor in:
// https://github.com/osmosis-labs/osmosis/issues/5726
// Due to an intermediary refactor step where we have
// full range positions created in the extended full range it
// sometimes tries to swap to the V2 MinInitializedTick that
// is not supported yet by the rest of the system.
if targetTick < types.MinInitializedTick {
return false, false
}

swapInDenom, swapOutDenom := zfoToDenoms(zfo, pool)
// TODO: Confirm accuracy of this method.
amountInRequired, curLiquidity, _ := s.computeSwapAmounts(pool.GetId(), pool.GetCurrentSqrtPrice(), targetTick, zfo, false)
Expand Down

0 comments on commit c07fd32

Please sign in to comment.