1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
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
..
account-import-strategies Use async/await instead of Promise.resolve (#16221) 2023-01-20 14:20:18 -06:00
constants Convert app/scripts/constants -> Typescript (#17327) 2023-01-20 13:33:01 -07:00
controllers Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
lib Add desktop support (#17683) 2023-02-20 17:13:12 +00:00
migrations UX: Move Portfolio link to its own button (#17722) 2023-02-21 09:32:08 -06:00
platforms Add desktop support (#17683) 2023-02-20 17:13:12 +00:00
app-init.js
background.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
contentscript.js
detect-multiple-instances.js
detect-multiple-instances.test.js
disable-console.js
first-time-state.js
init-globals.js
inpage.js
lockdown-more.js Activate LavaMoat scuttling security feature (#17276) 2023-01-24 19:00:35 +02:00
lockdown-run.js
metamask-controller.actions.test.js Security provider check (OpenSea) (#16584) 2023-01-23 20:02:01 +05:30
metamask-controller.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
metamask-controller.test.js Disable eth_sign by default, allow users to toggle it back on (#17308) 2023-02-06 13:17:50 -03:30
sentry-install.js
ui.js
use-snow.js