Uniswap / Uniswap/interface

Crash report: `Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.5.0)`

Open
#7,516 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.xspswap.finance/atomx

Error

Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.5.0)

Stacktrace

Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.5.0)
    at e.value (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:73530)
    at e.value (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:73674)
    at e.value (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:73753)
    at Function.value (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:138447)
    at y (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:1674112)
    at u (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:255079)
    at mt (https://app.xspswap.finance/static/js/75.28172ff9.chunk.js:1:24674)
    at ua (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:1459868)
    at $u (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:1512168)
    at As (https://app.xspswap.finance/static/js/33.d0c74ad3.chunk.js:2:1499409)

Device data

{
  "ua": "Mozilla/5.0 (Linux; Android 13; SM-G988U1 Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/118.0.0.0 Mobile Safari/537.36",
  "browser": {
    "name": "Chrome WebView",
    "version": "118.0.0.0",
    "major": "118"
  },
  "engine": {
    "name": "Blink",
    "version": "118.0.0.0"
  },
  "os": {
    "name": "Android",
    "version": "13"
  },
  "device": {
    "vendor": "Samsung",
    "model": "SM-G988U1",
    "type": "mobile"
  },
  "cpu": {}
}

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.xspswap.finance/atomx and use the supplied stacktrace as the entry point, starting with static/js/33.d0c74ad3.chunk.js and static/js/75.28172ff9.chunk.js. Trace the undefined value behind the BigNumber error and verify that the AtomX page no longer crashes on the reported mobile environment.

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.