1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00
metamask-extension/app/scripts
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
..
account-import-strategies
constants
controllers setActiveNetwork captures network config ID (#19404) 2023-06-06 14:10:45 -06:00
lib Handle watch asset accept and reject using ApprovalController only (#18829) 2023-06-05 21:13:22 +01:00
migrations Handle watch asset accept and reject using ApprovalController only (#18829) 2023-06-05 21:13:22 +01:00
platforms feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
app-init.js
background.js Revert "limit connections (#18355)" (#19272) 2023-05-24 11:17:00 -04: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
lockdown-run.js update ses@0.18.4 (#17521) 2023-04-27 21:31:52 +09:00
metamask-controller.actions.test.js [FLASK] snaps@0.34.0-flask.1 (#19377) 2023-06-05 13:51:19 +02:00
metamask-controller.js Handle watch asset accept and reject using ApprovalController only (#18829) 2023-06-05 21:13:22 +01:00
metamask-controller.test.js [FLASK] snaps@0.34.0-flask.1 (#19377) 2023-06-05 13:51:19 +02:00
mmi-keyring-builder-factory.js [MMI] adds mmi code fences to mm controller (#18279) 2023-05-29 16:38:28 +01:00
sentry-install.js
ui.js feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
use-snow.js