Skip to content

Commit

Permalink
address type name feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
adonesky1 committed Sep 28, 2023
1 parent c5a9e98 commit 9b53d8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/gas-fee-controller/src/GasFeeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,17 @@ export type FetchGasFeeEstimateOptions = {
* @property gasFeeEstimates - Gas fee estimate data based on new EIP-1559 properties
* @property estimatedGasFeeTimeBounds - Estimates representing the minimum and maximum
*/
export type GasFeeStateOld =
export type SingleChainGasFeeState =
| GasFeeStateEthGasPrice
| GasFeeStateFeeMarket
| GasFeeStateLegacy
| GasFeeStateNoEstimates;

export type GasFeeEstimatesByChainId = {
gasFeeEstimatesByChainId?: Record<string, GasFeeStateOld>;
gasFeeEstimatesByChainId?: Record<string, SingleChainGasFeeState>;
};

export type GasFeeState = GasFeeEstimatesByChainId & GasFeeStateOld;
export type GasFeeState = GasFeeEstimatesByChainId & SingleChainGasFeeState;

const name = 'GasFeeController';

Expand Down

0 comments on commit 9b53d8c

Please sign in to comment.