From a232f056d7261f428c75208c167e1889cc66dbb1 Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Thu, 2 Jan 2025 16:40:46 -0500 Subject: [PATCH] Update oracle.ts --- src/gasPriceOracle/oracle.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gasPriceOracle/oracle.ts b/src/gasPriceOracle/oracle.ts index d6aba829..09c3bcb5 100644 --- a/src/gasPriceOracle/oracle.ts +++ b/src/gasPriceOracle/oracle.ts @@ -105,10 +105,7 @@ export async function _getViemGasPriceEstimate( typeof providerOrChainId === "number" ? providerOrChainId : (await providerOrChainId.getNetwork()).chainId; const viemProvider = getPublicClient(chainId, transport); - const gasPriceFeeds: Record< - number, - (provider: PublicClient, opts: GasPriceEstimateOptions) => Promise - > = { + const gasPriceFeeds = { [CHAIN_IDs.LINEA]: lineaViem.eip1559, };