MetaMask / MetaMask/metamask-extension
Disable fiat values on any chain other than Ethereum mainnet
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
Users are seeing fiat values that reference an ethereum mainnet value rather than the custom chain they are connected to.
**Steps to reproduce (REQUIRED)**
Connect to xdai or any other network and then view the $ value underneath the token amounts.
**Expected behavior**
The value does not present itself unless it is in fact the value of the tokens on that chain. Also the FIAT as default option should be disabled on custom rpc networks and testnets.
reference support ticket # 60270
Contributor guide
Research direction
Reproduce the issue by connecting to xdai or another custom RPC network and viewing the fiat value beneath token amounts. Trace the fiat display and default-currency behavior from that UI entry point; done when fiat values are hidden unless valid for the connected chain and FIAT is disabled by default on custom RPC networks and testnets.
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
- 35/100