MetaMask / MetaMask/metamask-extension
Add ability to remove chain Id from preference accountUpgradeDisabledChains in UI
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### What is this about?
Is there way to remove chain ids from preference `accountUpgradeDisabledChains`?
Referring to this preference:

Getting the error `Error: EIP-7702 upgrade rejected for this chain and account` because the chain id is disabled on the e2e test dapp.

Would be nice if there was a way to re-enable chain ids for the 7702 smart account feature in the UI
### Scenario
_No response_
### Design
_No response_
### Technical Details
_No response_
### Threat Modeling Framework
_No response_
### Acceptance Criteria
_No response_
### Stakeholder review needed before the work gets merged
- [ ] Engineering (needed in most cases)
- [ ] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)
### References
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the UI and preference handling for accountUpgradeDisabledChains, then trace how the EIP-7702 upgrade rejection is triggered for disabled chain IDs. Define and verify a UI flow that removes or re-enables a selected chain ID, with the upgrade succeeding for that chain afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100