Crash report: `Error: Unsupported chain ID`
Open
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/#/pool/1?chain=mainnet
Error
Error: Unsupported chain ID
Stacktrace
Error: Unsupported chain ID
at n.get (https://app.uniswap.org/static/js/main.355ff957.chunk.js:1:539930)
at ap (https://app.uniswap.org/static/js/main.355ff957.chunk.js:1:342725)
at fa (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2754298)
at za (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2763865)
at Yf (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2807589)
at Cs (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2793839)
at Ts (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2793767)
at As (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2793630)
at ws (https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2790596)
at https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2740090
Device data
{
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36",
"browser": {
"name": "Chrome",
"version": "100.0.4896.88",
"major": "100"
},
"engine": {
"name": "Blink",
"version": "100.0.4896.88"
},
"os": {
"name": "Linux",
"version": "x86_64"
},
"device": {},
"cpu": {
"architecture": "amd64"
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing https://app.uniswap.org/#/pool/1?chain=mainnet with the reported Chrome/Linux environment and inspect the application source corresponding to the deployed stack trace. Trace where the unsupported chain ID is produced; done means the pool URL no longer crashes and the correct chain is handled or an understandable error is shown.
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