mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
b106bbf1d9
The network controller has a variety of methods that just retrieve controller state. These methods are not necessary because controller state is already part of the public API of the controller and can be accessed directly. These methods are: - getCurrentChainId - getCurrentRpcUrl - getNetworkIdentifier - getNetworkState - getProviderConfig - isNetworkLoading This is part of a larger effort to normalize the API of both network controllers, to make them easier to merge. |
||
---|---|---|
.. | ||
provider-api-tests | ||
createInfuraClient.js | ||
createInfuraClient.test.js | ||
createJsonRpcClient.js | ||
createJsonRpcClient.test.js | ||
index.js | ||
network-controller.js | ||
network-controller.test.js |