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
Mark Stacey 1fe28ee15a
Make setActiveNetwork async (#18605)
The network controller method `setActiveNetwork` is now async, and the
asynchronous `_setProviderConfig` step is now awaited. The function
will not resolve until the network has finished switching.

This change affects the `eth_switchEthereumChain` and
`eth_addEthereumChain` middleware, and it affects any network switching
performed in our UI.

Relates to https://github.com/MetaMask/metamask-extension/issues/18587
2023-04-18 13:25:05 -02:30
..
ens Fix/use etherjs specific imports (#15461) 2023-01-24 08:10:36 -06:00
network Make setActiveNetwork async (#18605) 2023-04-18 13:25:05 -02:30
permissions [FLASK] Remove unused snaps code (#18565) 2023-04-17 12:55:08 +02:00
transactions Trigger transaction popup using ApprovalController (#18400) 2023-04-11 14:18:43 +01:00
alert.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
app-state.js Updating Terms of Use, Adding popover and onboarding flow check (#18221) 2023-04-14 12:51:13 -04:00
app-state.test.js Trigger unlock popup in appStateController using ApprovalController (#18386) 2023-04-14 05:50:17 +01: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
detect-tokens.js Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
detect-tokens.test.js Make setProviderType async (#18604) 2023-04-17 15:45:01 -02:30
encryption-public-key.test.ts Refactor eth_getEncryptionPublicKey handling (#18319) 2023-04-13 09:24:59 +01:00
encryption-public-key.ts Refactor eth_getEncryptionPublicKey handling (#18319) 2023-04-13 09:24:59 +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 Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
metametrics.test.js Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
onboarding.js Use async/await instead of Promise.resolve (#16221) 2023-01-20 14:20:18 -06:00
preferences.js Remove openPopup from preferences controller (#18343) 2023-04-05 08:39:58 +01:00
preferences.test.js Make network controller internal fields private (#18607) 2023-04-17 12:45:33 -02:30
sign.test.ts Adopt security provider request from core (#18520) 2023-04-18 08:33:32 +01:00
sign.ts Adopt security provider request from core (#18520) 2023-04-18 08:33:32 +01:00
swaps.js Pass correct params to fetchEstimatedL1Fee in the swaps controller (#18634) 2023-04-18 12:15:18 -02:30
swaps.test.js Pass correct params to fetchEstimatedL1Fee in the swaps controller (#18634) 2023-04-18 12:15:18 -02:30