MetaMask / MetaMask/metamask-extension
[Bug]: Cannot update the Chain ID in the MetaMask extension when an error occurs. Also, the delete option does not appear after the error.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
The delete option does not appear in the three-dot menu (see Picture 1).
For other networks that are working correctly, the delete option is visible (see Picture 2).
Here are the details of the error (see Picture 3).
### Expected behavior
_No response_
### Screenshots/Recordings
_No response_
### Steps to reproduce
1. Go to Networks.
2. Click Add custom network and fill in the required fields.
3. Click Save.
4. An error message appears.
### Error messages or log output
```shell
```
### Where was this bug found?
Live version (from official store)
### Version
13.16.4
### Build type
None
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_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 reproducing the issue through Networks > Add custom network in MetaMask 13.16.4 on Chrome and macOS, then trace the error from the network setup flow. Done means the Chain ID can be updated after the error and the delete option appears in the three-dot menu for the affected network.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100