MetaMask / MetaMask/metamask-mobile
[Bug]: Smart Account EIP7702 Upgrade - MetaMask stays loading indefinitely when trying to upgrade an account and have a pending tx
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**
When I try to upgrade my Account to Smart Account on a network, if I click more than one and try to confirm more than one transaction, MetaMask stays loading indefinetly.
I have to completely close the application and re-open it again to make it work back again
**Screenshots/Recordings**
https://github.com/user-attachments/assets/7ff9a597-fe5b-4e63-aa20-0e171c3e3440
**Steps to reproduce**
1. Click Account details
2. Click Smart Account
3. Click on a network switch to upgrade that account on that particular network
4. Confirm
5. Click again on the network switch
6. Confirm
7. See MM stays loading
**Error messages or log output**
```shell
```
**Detection stage**
During release testing
**Version**
7.60.0
**Build type**
None
**Device**
Pixel 6
**Operating system**
Android
Contributor guide
Research direction
No source file or test is named. Reproduce on a Pixel 6 running Android with version 7.60.0 by repeating the Smart Account network upgrade and confirmation steps; trace the pending-transaction flow involved in the second confirmation. Done means repeated upgrades no longer leave MetaMask loading indefinitely or require restarting the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100