@metamask-previews/network-controller 27.0.0-preview-8a0c757a → 27.0.0-preview-d24ded2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
 
18
18
  - Bump `@metamask/eth-json-rpc-middleware` from `^22.0.0` to `^22.0.1` ([#7330](https://github.com/MetaMask/core/pull/7330))
19
19
 
20
+ ### Fixed
21
+
22
+ - Ensure `get1559CompatibilityWithNetworkClientId` updates network metadata with EIP-1559 compatibility data missing ([#7532](https://github.com/MetaMask/core/pull/7532))
23
+
20
24
  ## [27.0.0]
21
25
 
22
26
  ### Added
@@ -652,7 +652,7 @@ class NetworkController extends base_controller_1.BaseController {
652
652
  }
653
653
  async get1559CompatibilityWithNetworkClientId(networkClientId) {
654
654
  let metadata = this.state.networksMetadata[networkClientId];
655
- if (metadata === undefined) {
655
+ if (metadata?.EIPS[1559] === undefined) {
656
656
  await this.lookupNetwork(networkClientId);
657
657
  metadata = this.state.networksMetadata[networkClientId];
658
658
  }