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
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 Fix/use etherjs specific imports (#15461) 2023-01-24 08:10:36 -06:00
network Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
permissions Pass excludedPermissions to SnapController (#17321) 2023-02-15 11:09:47 +01:00
transactions 🐛 Calldata validation (#17326) 2023-02-01 16:34:55 -06:00
alert.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
app-state.js UX: Move Portfolio link to its own button (#17722) 2023-02-21 09:32:08 -06:00
app-state.test.js Adding browser outdated notification (#17027) 2023-02-02 13:56:41 -05:00
backup.js Fix 3box replacement for MV3 (#15851) 2022-09-29 07:34:20 +04:00
backup.test.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
cached-balances.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
cached-balances.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
detect-tokens.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
detect-tokens.test.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
incoming-transactions.js Additional incoming transactions support (#14219) 2023-02-14 12:35:42 -06:00
incoming-transactions.test.js Additional incoming transactions support (#14219) 2023-02-14 12:35:42 -06:00
metametrics.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
metametrics.test.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
onboarding.js Use async/await instead of Promise.resolve (#16221) 2023-01-20 14:20:18 -06:00
preferences.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
preferences.test.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
swaps.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
swaps.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00