pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

fix: isPositionOutOfRange when tick is zero

Open Chef-Yogi opened this issue 1 year ago • 2 comments

🤖 Generated by Copilot at 4b6f2d2

Summary

🐛📊🛠️

Fixed a bug in isPositionOutOfRange function that caused incorrect liquidity ranges for some positions with zero ticks. Updated packages/utils/isPositionOutOfRange.ts file.

isPositionOutOfRange Fixed a bug with zero ticks Liquidity blooms

Walkthrough

  • Fix a bug in isPositionOutOfRange function that caused incorrect liquidity ranges for some positions (link)

Chef-Yogi avatar Jun 15 '23 23:06 Chef-Yogi

⚠️ No Changeset found

Latest commit: 4b6f2d286f36587d358e35b14149897838547188

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jun 15 '23 23:06 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aptos-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 11:04pm
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 11:04pm
bridge ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 11:04pm
uikit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 11:04pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2023 11:04pm

vercel[bot] avatar Jun 15 '23 23:06 vercel[bot]