1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/controllers
Mark Stacey cf7c790505
Only recognize "blocked" status for built-in networks (#19069)
The detection of the Infura "blocked" status has been updated to apply
only to built-in networks. The message we show to users in this state
is meant only for Infura; we don't want to show it for third-party RPC
APIs that happen to use the same error response.

This brings the network controller further in alignment with the core
network controller.

This isn't tested, but it was found in the course of porting unit tests
from core to extension. It will be covered by these tests, which will
be added in the next PR.
2023-05-10 12:11:57 -02:30
..
ens Fix/use etherjs specific imports (#15461) 2023-01-24 08:10:36 -06:00
network Only recognize "blocked" status for built-in networks (#19069) 2023-05-10 12:11:57 -02:30
permissions Fence snaps endowments and permissions for stable/flask (#18847) 2023-05-02 14:51:16 +02:00
transactions Adopt ApprovalType from core (#18567) 2023-05-10 06:36:01 +01:00
alert.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
app-state.js Adopt ApprovalType from core (#18567) 2023-05-10 06:36:01 +01: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
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 Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
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 feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
metametrics.test.js Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
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
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