MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.95k stars 4.89k forks source link

[Bug/UX]: Dashboard shows `USD` and confusing warning instead of balance when on private network #23391

Open legobeat opened 7 months ago

legobeat commented 7 months ago

Describe the bug

When on private network using a local RPC node, it would make sense to show the native token balance. Instead, the most prominently visible item is USD. There is also a non-dismissable, non-relevant and confusing warning about the token name.

Inspecting the extension and looking in the network tab, we can see the eth_getBalance calls get sent and return successfully.

Expected behavior

Relevant information is show on home screen.

Screenshots/Recordings

right after unlocking: 1-dashboard

when clicking the red triangle: 2-scarywarning

clicking through to "Network details", this is what was previously manually configured: 3-networkdetails

clicking through to individual account details does not show balance either. 4-account1

Steps to reproduce

  1. Configure MetaMask with a custom RPC node for a testnet (like Sepolia or Holesky)
  2. Disable internet connectivity
  3. Unlock wallet and navigate to home screen
  4. Try to inspect account details

Error messages or log output

No response

Version

11.11.4, develop

Build type

None

Browser

Firefox

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

SvenMeyer commented 6 months ago

Same problem here with BNB test tokens on the official BNB Chain testnet ! No balance shown, just a warning sign. Also shows "USD" on the top, although Primary currency "BNB" was choosen. I think the "security & protection initiative" is a bit over the top :facepalm:

Metamask Wallet with BNB on testnet

image

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

legobeat commented 2 months ago

Not stale. Is anyone looking at this?