Uniswap / Uniswap/interface

Crash report: `QuotaExceededError: The quota has been exceeded.`

Open
#4,300 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/#/swap?chain=mainnet

swap state

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

Error

QuotaExceededError: The quota has been exceeded.

Stacktrace

setItem@[native code]
@https://app.uniswap.org/static/js/main.4d8e2df0.chunk.js:1:36320
rs@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2786540
Su@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2806753
@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2805488
_u@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2805552
su@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2799273
su@[native code]
Wf@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2739736
@https://app.uniswap.org/static/js/2.9f9389dc.chunk.js:2:2796676

Device data

{
  "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/76.0.3809.123 Mobile/15E148 Safari/605.1",
  "browser": {
    "name": "Chrome",
    "version": "76.0.3809.123",
    "major": "76"
  },
  "engine": {
    "name": "WebKit",
    "version": "605.1.15"
  },
  "os": {
    "name": "iOS",
    "version": "13.1"
  },
  "device": {
    "vendor": "Apple",
    "model": "iPhone",
    "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

Start by reproducing the crash at https://app.uniswap.org/#/swap?chain=mainnet on the listed iPhone and Chrome versions, then trace the setItem call in the reported main.4d8e2df0.chunk.js and related chunk. Done means the swap page no longer crashes when the browser quota is exceeded, with a regression test or confirmed reproduction result.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.