1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 20:57:12 +01:00
metamask-extension/app/scripts/controllers/network
Elliot Winkler b106bbf1d9
Remove extraneous methods from NetworkController (#17522)
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.
2023-02-22 10:43:37 -07:00
..
provider-api-tests Add network client tests for methods not supported by Infura (#17347) 2023-02-02 15:44:22 -03:30
createInfuraClient.js Update eth-json-rpc-infura (#15845) 2022-09-15 14:41:18 -02:30
createInfuraClient.test.js Add tests for custom JSON-RPC network client (#16337) 2023-01-06 10:10:17 -07:00
createJsonRpcClient.js Add tests for custom JSON-RPC network client (#16337) 2023-01-06 10:10:17 -07:00
createJsonRpcClient.test.js Add tests for custom JSON-RPC network client (#16337) 2023-01-06 10:10:17 -07:00
index.js Rename the network controller module (#16974) 2022-12-16 16:37:06 -03:30
network-controller.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
network-controller.test.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00