Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Fork balance displayed briefly and then replaced by non-fork network balance #30862

Closed
benjisclowder opened this issue Mar 7, 2025 · 2 comments

Comments

@benjisclowder
Copy link
Contributor

Describe the bug

When using a fork for the Ethereum main network and funding the account with an amount of native tokens, the balance appears briefly, and then is replaced by the balance on the non-forked Ethereum network, thus not being able to perform transactions with the balance from the forked network. RPC doesn't change, it's still on the fork and it doesn't switch to Infura RPC to explain the balance changed.

Expected behavior

Balance is showcased correctly for the fork, instead of being replaced by non-forked network balance.

Screenshots/Recordings

Screen.Recording.2025-03-07.at.16.22.51.mov

Steps to reproduce

  1. Load MetaMask & Tenderly
  2. Create a fork for Ethereum Mainnet and fund the account with any amount
  3. Go back to MetaMask and check balance
  4. Notice forked network balance appears briefly, and then it is replaced by the initial balance on the Infura RPC, without RPC changing.

Error messages or log output

Detection stage

During release testing

Version

12.14.0

Build type

Beta

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

@benjisclowder benjisclowder added the type-bug Something isn't working label Mar 7, 2025
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by severity Mar 7, 2025
@github-project-automation github-project-automation bot moved this to To be triaged in Bugs by team Mar 7, 2025
@metamaskbot metamaskbot added regression-RC-12.14.0 Regression bug that was found in release candidate (RC) for release 12.14.0 needs-triage Issue needs to be triaged labels Mar 7, 2025
@seaona
Copy link
Contributor

seaona commented Mar 7, 2025

hi there 👋 I think this is expected because the real balance is coming from the API request to https://accounts.api.cx.metamask.io/v2/accounts and not from the RPC (in this case, Tenderly).
If you want to see the Tenderly balance you could block the requests to the API, or use the Basic Functionality

@benjisclowder
Copy link
Contributor Author

Closing as per the above statement.

@benjisclowder benjisclowder removed type-bug Something isn't working needs-triage Issue needs to be triaged team-assets regression-RC-12.14.0 Regression bug that was found in release candidate (RC) for release 12.14.0 labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Status: To be triaged
Development

No branches or pull requests

3 participants