Skip to content

Commit

Permalink
Use utils in gas-prices.ts to read data from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Jan 11, 2025
1 parent b06f9cc commit 9e18813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/cron-cache-gas-prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 9e18813

Please sign in to comment.