From 9e18813baa5797418b98860e3884542a58a10d82 Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Fri, 10 Jan 2025 23:00:03 -0700 Subject: [PATCH] Use utils in gas-prices.ts to read data from cache --- api/cron-cache-gas-prices.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/cron-cache-gas-prices.ts b/api/cron-cache-gas-prices.ts index 830267857..759cf3321 100644 --- a/api/cron-cache-gas-prices.ts +++ b/api/cron-cache-gas-prices.ts @@ -54,6 +54,8 @@ const handler = async ( // To circumvent this, we run the function in a loop and update gas prices every // `secondsPerUpdateForChain` seconds and stop after `maxDurationSec` seconds (1 minute). const gasPricePromises = mainnetChains + // @dev Remove Linea from this cron cache job because Linea's gas price is dependent on the + // calldata of the transaction to be submitted on Linea. .filter((chain) => CHAIN_IDs.LINEA !== chain.chainId) .map(async (chain) => { const secondsPerUpdateForChain =