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
Elliot Winkler 63c402155d
Sync default value of networkDetails w/ core (#19407)
In the core version of NetworkController, the `networkDetails` property
is initialized to `{ EIPS: {} }`. It is also reset to this
representation when `refreshNetwork` is called.

In this version of NetworkController, however, the default
representation of `networkDetails` is `{ EIPS: { 1559: undefined } }`.
From a consumer's perspective this doesn't make a difference — it's
practically the same. It does make a slight difference in tests,
however.

With that in mind, this commit changes the default representation to `{
EIPS: {} }`. This makes it easier to visually compare differences in the
NetworkController unit tests between core and this repo.
2023-06-02 14:35:08 -06:00
..
ens
network Sync default value of networkDetails w/ core (#19407) 2023-06-02 14:35:08 -06:00
permissions
transactions
alert.js
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
backup.test.js
cached-balances.js
cached-balances.test.js
decrypt-message.test.ts
decrypt-message.ts
detect-tokens.js
detect-tokens.test.js NetworkController: Simplify event types (#19252) 2023-05-26 10:35:52 -06:00
encryption-public-key.test.ts
encryption-public-key.ts
incoming-transactions.js
incoming-transactions.test.js
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
preferences.js [MMI] Added code fences to the following controllers: app-state, metametrics, preferences (#17894) 2023-05-23 16:16:23 +02:00
preferences.test.js
swaps.js
swaps.test.js