MetaMask / MetaMask/metamask-extension

[Bug]: EIP7702 - MetaMask Upgrade throws error `No metadata found for 'disabledUpgradeAccountsByChain'`

Open
#33,005 0 comments 1 reaction 0 assignees View on GitHub
Bugs---Low-Priority INVALID-ISSUE-TEMPLATE Sev2-normal team-confirmations type-bug
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:

![Image](https://github.com/user-attachments/assets/b00dfc3f-4702-4499-9101-c0da66950d3c)

**Screenshots/Recordings**

![Image](https://github.com/user-attachments/assets/a16d9878-be8c-425a-8792-eb23526ae856)

**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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.