1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/app/scripts/controllers
Elliot Winkler db45a0aef4
setActiveNetwork captures network config ID (#19404)
In the core version of NetworkController, when the `setActiveNetwork`
method updates the provider configuration object, it will capture the ID
of the network configuration used to do so within the provider config
itself. In the same way, `setProviderType` clears any ID that was
previously set from the provider config.

This commit updates this version of NetworkController to be consistent
and updates tests to match.
2023-06-06 14:10:45 -06:00
..
ens Fix/use etherjs specific imports (#15461) 2023-01-24 08:10:36 -06:00
network setActiveNetwork captures network config ID (#19404) 2023-06-06 14:10:45 -06:00
permissions [FLASK] snaps@0.34.0-flask.1 (#19377) 2023-06-05 13:51:19 +02:00
transactions feat: Refactor Transaction Confirmation selector (#18796) 2023-05-11 07:56:17 +02:00
alert.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
app-state.js [FLASK] Add Snaps privacy warning on snap install (#18835) 2023-05-31 14:43:39 +02:00
app-state.test.js [FLASK] Add Snaps privacy warning on snap install (#18835) 2023-05-31 14:43:39 +02:00
backup.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
backup.test.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
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
decrypt-message.test.ts Consume Decrypt Message Manager from @metamask/message-manager (#18379) 2023-04-26 17:02:33 +02:00
decrypt-message.ts Consume Decrypt Message Manager from @metamask/message-manager (#18379) 2023-04-26 17:02:33 +02:00
detect-tokens.js Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
detect-tokens.test.js NetworkController: Simplify event types (#19252) 2023-05-26 10:35:52 -06:00
encryption-public-key.test.ts Return state when calling EncryptionPublicKeyController.cancelEncryptionPublicKey (#18845) 2023-04-27 11:39:37 +01:00
encryption-public-key.ts Return state when calling EncryptionPublicKeyController.cancelEncryptionPublicKey (#18845) 2023-04-27 11:39:37 +01: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 [MMI] Added code fences to the following controllers: app-state, metametrics, preferences (#17894) 2023-05-23 16:16:23 +02:00
metametrics.test.js [MMI] Added code fences to the following controllers: app-state, metametrics, preferences (#17894) 2023-05-23 16:16:23 +02:00
mmi-controller.js [MMI] adds mmi code fences to mm controller (#18279) 2023-05-29 16:38:28 +01:00
mmi-controller.test.js [MMI] adds mmi code fences to mm controller (#18279) 2023-05-29 16:38:28 +01:00
onboarding.js Use async/await instead of Promise.resolve (#16221) 2023-01-20 14:20:18 -06:00
preferences.js Have mmi build being generated (#19441) 2023-06-06 16:43:31 +01:00
preferences.test.js Make network controller internal fields private (#18607) 2023-04-17 12:45:33 -02:30
swaps.js Fix swaps controller: update provider after networkIdStore state update (#18670) 2023-04-19 18:15:26 -02:30
swaps.test.js Fix swaps controller: update provider after networkIdStore state update (#18670) 2023-04-19 18:15:26 -02:30