Uniswap / Uniswap/interface

Crash report: `TypeError: at.a[(intermediate value)] is undefined`

Open
#4,006 0 comments 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/#/pool?chain=arbitrum

Error

TypeError: at.a[(intermediate value)] is undefined

Stacktrace

vj@https://app.uniswap.org/static/js/main.355ff957.chunk.js:1:329521
fa@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2754298
za@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2763865
Yf@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2807589
Cs@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2793841
Ts@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2793769
As@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2793630
ws@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2790596
Yi/<@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2740090
t.unstable_runWithPriority@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2817327
Gi@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2739867
Yi@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2740037
Ki@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2739970
bs@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2787973
Ca@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2759625
c</</<@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2670344
r/r/<@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2662591
r@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2662563
update@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2662102
value/e/</<@https://app.uniswap.org/static/js/2.cdb10fed.chunk.js:2:2463319

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0",
  "browser": {
    "name": "Firefox",
    "version": "101.0",
    "major": "101"
  },
  "engine": {
    "name": "Gecko",
    "version": "101.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

Reproduce the crash at https://app.uniswap.org/#/pool?chain=arbitrum using the reported Firefox environment, then trace the minified stack entries in main.355ff957.chunk.js and 2.cdb10fed.chunk.js back to the TypeScript source. Done means the Arbitrum pool route no longer crashes for this case and the behavior is covered by an appropriate regression check.

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.