mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fbcd2a1113
Update NetworkController so that when it is creating the network client based on configuration for a custom RPC endpoint, it verifies that the configuration object contains both a chain ID and RPC URL. This check is already present on the core side; bringing it over makes the tests more consistent so we can compare them more easily. |
||
---|---|---|
.. | ||
provider-api-tests | ||
test | ||
create-network-client.test.ts | ||
create-network-client.ts | ||
index.ts | ||
network-controller.test.ts | ||
network-controller.ts |