1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers
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
..
ens
network
permissions
transactions
alert.js
app-state.js
app-state.test.js
backup.js
backup.test.js
cached-balances.js
cached-balances.test.js
detect-tokens.js
detect-tokens.test.js
incoming-transactions.js
incoming-transactions.test.js
metametrics.js
metametrics.test.js
onboarding.js
preferences.js
preferences.test.js
swaps.js
swaps.test.js