Uniswap / Uniswap/interface

Selecting unrealistic amounts of usdt causes the interface to crash

Open
#7,509 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Bug Description
Selecting a long enough (~60 digits long) USDT amount crashes the interface.

Steps to Reproduce

  1. Go to the app interface
  2. Choose USDT as an input/output currency
  3. Make the amount of USDT being swapped about 60-65 digits long

Expected Behavior
Nothing. The app shouldn't have crashed

Additional Context

Screencast.webm

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 in the app interface with USDT selected and an amount of about 60–65 digits. Trace the amount-input path to identify where this value causes the interface to fail; done means the same input no longer crashes the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.