mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
1fe28ee15a
The network controller method `setActiveNetwork` is now async, and the asynchronous `_setProviderConfig` step is now awaited. The function will not resolve until the network has finished switching. This change affects the `eth_switchEthereumChain` and `eth_addEthereumChain` middleware, and it affects any network switching performed in our UI. Relates to https://github.com/MetaMask/metamask-extension/issues/18587 |
||
---|---|---|
.. | ||
provider-api-tests | ||
create-network-client.test.ts | ||
create-network-client.ts | ||
index.ts | ||
network-controller.test.ts | ||
network-controller.ts |