MetaMask / MetaMask/metamask-extension

[Bug]: wallet_getCapabilities - 9 exact GET requests are made to sentinel `/networks` API

Open
#40,660 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-performance INVALID-ISSUE-TEMPLATE regression-RC-13.20.0 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**

Whenever I trigger the wallet_getCabapibiliets 9 exact GET requests are made to sentinel API with the same responses

`https://tx-sentinel-ethereum-mainnet.api.cx.metamask.io/networks`

**Screenshots/Recordings**

https://github.com/user-attachments/assets/ff37cb76-440a-490b-873d-4a0b925f7de6

**Steps to reproduce**

1. Connect to the test dapp
2. Click Get Capabilities
3. See 9 exact same GET requests are made to sentinel API

**Error messages or log output**

```shell

```

**Where was this bug found?**

**Version**

13.20.0

**Build type**

None

**Browser**

Chrome

**Operating system**

MacOS

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 with the wallet_getCapabilities flow in the TypeScript extension and trace the requests sent to the Sentinel /networks endpoint while reproducing the issue in the test dapp. Done means clicking Get Capabilities no longer produces nine identical GET requests and the capability result remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.