Uniswap / Uniswap/interface

Wrong network name at swap gas estimation hover

Open
#6,969 3 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
"Network fees are paid to the Ethereum network to secure transactions. Learn more".
While I was on Polygon

Steps to Reproduce

  1. Visit swap page https://app.uniswap.org/#/tokens/polygon/0xb515790f12ad720d5fb256476fe7d443e3c5d752
  2. Enter the amount to swap
  3. Hover to gas icon (Network fees block)

Expected Behavior
"Network fees are paid to the Polygon network to secure transactions. Learn more".
etc

Additional Context
'ethereum'

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 at the swap page URL in the reproduction steps and inspect the gas icon's Network fees hover text while connected to Polygon. Trace where the displayed network name is selected. Done means the hover text names Polygon on Polygon and the corresponding active network elsewhere.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.