mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
cf7c790505
The detection of the Infura "blocked" status has been updated to apply only to built-in networks. The message we show to users in this state is meant only for Infura; we don't want to show it for third-party RPC APIs that happen to use the same error response. This brings the network controller further in alignment with the core network controller. This isn't tested, but it was found in the course of porting unit tests from core to extension. It will be covered by these tests, which will be added in the next PR. |
||
---|---|---|
.. | ||
provider-api-tests | ||
test | ||
create-network-client.test.ts | ||
create-network-client.ts | ||
index.ts | ||
network-controller.test.ts | ||
network-controller.ts |