MetaMask / MetaMask/metamask-extension
[Bug]: EIP7702 - MetaMask Upgrade throws error `No metadata found for 'disabledUpgradeAccountsByChain'`
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
Upgrade to current main got error `No metadata found for 'disabledUpgradeAccountsByChain'`.
I don't have the previous version from the wallet, but this were the migrations that happened:

**Screenshots/Recordings**

**Steps to reproduce**
1. Have old MM instance
2. Upgrade to current main `df422ecd91a7d9dad4e7873ce3d7f3c2a9f36891`
3. See error
**Error messages or log output**
```shell
```
**Detection stage**
On main branch
**Version**
main
**Build type**
None
**Browser**
Firefox
**Operating system**
Linux
Contributor guide
Research direction
Start by reproducing the upgrade from an old MetaMask instance to commit df422ecd91a7d9dad4e7873ce3d7f3c2a9f36891, using the reported Firefox/Linux setup. Trace where the migration looks up disabledUpgradeAccountsByChain and identify why its metadata is missing; done means the upgrade completes without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100