mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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. |
||
---|---|---|
.. | ||
provider-api-tests | ||
test | ||
create-network-client.test.ts | ||
create-network-client.ts | ||
index.ts | ||
network-controller.test.ts | ||
network-controller.ts |