MetaMask / MetaMask/metamask-mobile
[Bug]: Native tokens balances displayed as 0 after adding additional network
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
After adding additional network Avalanche, the native tokens balances are displayed as 0 in the tokens list
Reloading displays the correct updated balances
### Expected behavior
Native tokens to display correct balance
### Screenshots/Recordings
https://github.com/user-attachments/assets/3822bfcd-272d-4362-ad76-7da0bdf97b75
### Steps to reproduce
1. Add additional network Avalanche
2. Notice native tokens balances
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
7.73.0
### Build number
4331
### Build type
None
### Device
Iphone 15, Pixel 6 Pro
### Operating system
iOS, Android
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Start by reproducing the issue on iOS or Android: add the Avalanche network and observe the native token balances before reloading. Trace the balance refresh triggered by adding a network, and consider the issue done when balances display correctly immediately without a reload on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- blockchain, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100