Uniswap / Uniswap/interface

Crash report: `Error: Unsupported chain ID`

Open
#4,157 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

URL

https://app.uniswap.org/#/remove/178688?chain=polygon

burnV3 state

{
  "percent": 100
}

Error

Error: Unsupported chain ID

Stacktrace

get@https://app.uniswap.org/static/js/main.b339b4b8.chunk.js:1:534539
uO@https://app.uniswap.org/static/js/main.b339b4b8.chunk.js:1:457027
xo@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2582842
Oa@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2594530
ks@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2640937
gu@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2628992
mu@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2628920
yu@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2628781
iu@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2625561
su@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2625952
Wf@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2566563
ru/<@https://app.uniswap.org/static/js/2.b5884ee0.chunk.js:2:2623502

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0",
  "browser": {
    "name": "Firefox",
    "version": "103.0",
    "major": "103"
  },
  "engine": {
    "name": "Gecko",
    "version": "103.0"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  },
  "device": {},
  "cpu": {
    "architecture": "amd64"
  }
}

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 reported remove-liquidity URL on Polygon and inspect the source corresponding to the minified stack trace. Trace how the burnV3 state and chain ID are handled; done means the flow no longer crashes with “Unsupported chain ID” for this case and the relevant regression is covered.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.