Skip to content

Commit

Permalink
rename network controller properties state property
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptodev-2s authored and Salah-eddineS committed Jan 23, 2023
1 parent 7ee2575 commit ba0d6e6
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ describe('ComposableController', () => {
NetworkController: {
network: 'loading',
isCustomNetwork: false,
properties: { isEIP1559Compatible: false },
networkDetails: { isEIP1559Compatible: false },
providerConfig: { type: 'mainnet', chainId: NetworksChainId.mainnet },
},
PreferencesController: {
Expand Down Expand Up @@ -286,7 +286,7 @@ describe('ComposableController', () => {
lostIdentities: {},
network: 'loading',
isCustomNetwork: false,
properties: { isEIP1559Compatible: false },
networkDetails: { isEIP1559Compatible: false },
providerConfig: { type: 'mainnet', chainId: NetworksChainId.mainnet },
selectedAddress: '',
useTokenDetection: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-fee-controller/src/GasFeeController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ describe('GasFeeController', () => {
getChainId,
messenger,
getCurrentNetworkLegacyGasAPICompatibility,
getCurrentNetworkEIP1559Compatibility: getIsEIP1559Compatible, // change this for networkController.state.properties.isEIP1559Compatible ???
getCurrentNetworkEIP1559Compatibility: getIsEIP1559Compatible, // change this for networkDetails.state.networkDetails.isEIP1559Compatible ???
legacyAPIEndpoint,
EIP1559APIEndpoint,
clientId,
Expand Down
Loading

0 comments on commit ba0d6e6

Please sign in to comment.