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.

Open
#40,363 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

external-contributor regression-prod-13.16.4 Sev2-normal team-networks type-bug
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).
Image

For other networks that are working correctly, the delete option is visible (see Picture 2).
Image

Here are the details of the error (see Picture 3).
Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.