Skip to content

[Bug]: MM is sending RPC requests to another custom network, aside from the one that's currently selected #17040

@seaona

Description

@seaona

Describe the bug

Problem: after adding a custom localhost network, if I change to another network and terminate the ganache server for localhost, I still can see how requests are being send to the localhost custom network together with the requests to the currently selected network.

requests-to-other-net.mp4

Steps to reproduce

[investigating]

  1. Setup a ganache server with a different port number than the default ganache port 8546
  2. On MM, go to Add Network
  3. Add the new server pointing to localhost 8546
  4. Change to another network
  5. Terminate ganache server
  6. Observe network requests on the background console -- requests to the localhost net are still being sent, alongside with requests to the current selected network

Error messages or log output

No response

Version

10.24.0

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

Metadata

Metadata

Assignees

Labels

Sev2-normalNormal severity; minor loss of service or inconvenience.release-12.11.0Issue or pull request that will be included in release 12.11.0team-extension-platformExtension Platform teamtype-bugSomething isn't workingtype-security

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions