Uniswap / Uniswap/interface

Crash report: `TypeError: e.list is undefined`

Open
#3,837 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.diffusion.fi/#/swap

swap state

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

Error

TypeError: e.list is undefined

Stacktrace

pj@https://app.diffusion.fi/static/js/main.bbe97195.chunk.js:1:288265
580/bj/n</<@https://app.diffusion.fi/static/js/main.bbe97195.chunk.js:1:288877
580/vj/N<@https://app.diffusion.fi/static/js/main.bbe97195.chunk.js:1:290841
useMemo@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1124317
t.useMemo@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1042539
vj@https://app.diffusion.fi/static/js/main.bbe97195.chunk.js:1:290819
no@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1118352
Xs@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1170810
Tu@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1157986
_u@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1157914
Su@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1157775
vu@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1154741
Gi/<@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1104120
t.unstable_runWithPriority@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1181539
Hi@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1103897
Gi@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1104067
Xi@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1104000
Le@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1175349
Zt@https://app.diffusion.fi/static/js/4.43d6c27a.chunk.js:2:1082626

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0",
  "browser": {
    "name": "Firefox",
    "version": "100.0",
    "major": "100"
  },
  "engine": {
    "name": "Gecko",
    "version": "100.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.diffusion.fi/#/swap using the reported swap state, then trace the minified main.bbe97195.chunk.js stack around e.list. Identify the corresponding TypeScript source and add a regression check for this state; done means the swap page no longer crashes in Firefox and the reported state renders normally.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.