Uniswap / Uniswap/interface

Crash report: `TypeError: Br[(intermediate value)] is undefined`

Open
#4,993 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://swap.keyring.app/#/swap?chain=mainnet

swap state

{
  "INPUT": {
    "currencyId": "ETH"
  },
  "OUTPUT": {
    "currencyId": null
  },
  "independentField": "INPUT",
  "typedValue": "",
  "recipient": null
}

Error

TypeError: Br[(intermediate value)] is undefined

Stacktrace

GI@https://swap.keyring.app/static/js/main.276210bd.chunk.js:1:575804
oo@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1806966
Ho@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1816533
Xf@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1860257
Pu@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1846509
Cu@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1846437
Su@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1846298
wu@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1843264
Xi/<@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1792758
t.unstable_runWithPriority@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1869995
Ki@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1792535
Xi@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1792705
Yi@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1792638
bu@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1840641
Po@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:1812293
T/</h</</</<@https://swap.keyring.app/static/js/34.5b0b48ce.chunk.js:1:359113

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0",
  "browser": {
    "name": "Firefox",
    "version": "105.0",
    "major": "105"
  },
  "engine": {
    "name": "Gecko",
    "version": "105.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 the provided swap URL using the recorded swap state, Firefox 105, and Windows 10. Start from the generated stacktrace and trace it back to the source responsible for rendering this state. Done means the same URL and state no longer produce the reported TypeError.

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.