MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.11k stars 1.09k forks source link

[Bug]: Performance degradation: delay of ~10s everytime I switch to Mainnet #8494

Open seaona opened 7 months ago

seaona commented 7 months ago

Describe the bug

Problem: everytime I switch to Mainnet, there is a delay of ~10s where no action can be performed (and balance is not loaded neither). Notice this only happens with Mainnet and with Android devices.

Expected behavior

No delays when switching networks to Mainnet

Screenshots/Recordings

https://github.com/MetaMask/metamask-mobile/assets/54408225/de0a9b36-ba4c-4461-969f-678690cba18b

Steps to reproduce

  1. Switch to any network
  2. Switch back to Mainnet
  3. Try to perform any action --- it will take ~10 seconds until it is effective

Error messages or log output

No response

Version

7.16.0 7.15 , 7.14, 7.12.3 and maybe even further

Build type

None

Device

Pixel 6

Operating system

Android

Additional context

No response

Severity

No response

seaona commented 7 months ago

[Updates] After reviewing what could be causing this, we've seen that this was already happening in previous versions, before Blockaid was even coded. For this reason:

github-actions[bot] commented 4 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 7 days. Thank you for your contributions.