Uniswap / Uniswap/interface

[Bug] Can't increase LP size, UI showing both "out of range" and "in range" in different parts of the same page

Open
#3,911 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Bug Description
LP is in range, however deposit modal says the LP is out of range, and only shows a single-sided deposit. When trying to deposit single-sided, it shows a balance of 0 for the tokens, when the balance should be non-zero.

Steps to Reproduce

  1. Open Uniswap, connect wallet to Polygon
  2. Create LP that is in range
  3. Increase position

Expected Behavior
Should allow to deposit more tokens.

Additional Context
Add any other context about the problem here (screenshots, whether the bug only occurs only in certain mobile/desktop/browser environments, etc.)
Broken on both Brave Browser and Firefox. On MacOS. On Polygon.

Screen Shot 2022-06-14 at 12 15 26 AM Screen Shot 2022-06-14 at 12 15 20 AM Screen Shot 2022-06-14 at 12 15 15 AM Screen Shot 2022-06-14 at 12 56 25 AM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the listed reproduction flow in the Uniswap interface: connect a wallet on Polygon, create an in-range LP, and try to increase the position. Check the behavior in Brave or Firefox on macOS, including the conflicting range messages and token balances. Done means an in-range position can accept more tokens and the deposit view shows the correct non-zero balances.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.