Uniswap / Uniswap/interface

EstimateGas failed removeLiquidityWithPermit

Open
#3,362 5 comments 3 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

Unable to remove liquidity from Uniswap (with both ETH and WETH pair) as it is throwing an error which says "cannot estimate gas; transaction may fail or may require manual gas limit" or "UNPREDICTABLE_GAS_LIMIT"

  1. Liquidity added to the pair address - 0x50f3886e38ffe70d0b9a3305535f03c4e014067b
  2. Address used to add/remove liquidity - 0x4228B7719f88d8936072AAb5A9ec700d05719267
  3. Happening on the MainNet

Expected Behavior
Should be able to successfully remove the liquidity.

Additional Context
Please check the screenshot for more details on the error
Screenshot 2022-02-25 at 12 46 47 PM

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 by reproducing the removeLiquidityWithPermit failure on Mainnet with the pair address and wallet address given in the issue, then trace the interface entry point that prepares this transaction. Compare the ETH and WETH cases and confirm the fix by verifying that liquidity can be removed without an UNPREDICTABLE_GAS_LIMIT error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.