Skip to content

Commit

Permalink
Update cron-cache-gas-costs.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Jan 14, 2025
1 parent 88c9b7c commit 5c27167
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions api/cron-cache-gas-costs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,11 @@ const handler = async (
({ destinationToken }) => destinationToken
);
return Promise.all([
Promise.all(
outputTokensForChain.map((outputToken) =>
updateNativeGasCostPromise(chain.chainId, outputToken)
)
...outputTokensForChain.map((outputToken) =>
updateNativeGasCostPromise(chain.chainId, outputToken)
),
Promise.all(
outputTokensForChain.map((outputToken) =>
updateL1DataFeePromise(chain.chainId, outputToken)
)
...outputTokensForChain.map((outputToken) =>
updateL1DataFeePromise(chain.chainId, outputToken)
),
]);
}),
Expand Down

0 comments on commit 5c27167

Please sign in to comment.