From e10b4485c3f5275481a96a57449fcf93ab025b1c Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Thu, 9 Jan 2025 15:55:59 -0500 Subject: [PATCH] debug --- api/_utils.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api/_utils.ts b/api/_utils.ts index 2cd23d8b7..a49a8b8da 100644 --- a/api/_utils.ts +++ b/api/_utils.ts @@ -1984,7 +1984,6 @@ export function getCachedFillGasUsage( return { opStackL1GasCost: gasCosts.opStackL1GasCost, nativeGasCost: gasCosts.nativeGasCost, - tokenGasCost: gasCosts.tokenGasCost, }; }; @@ -1994,12 +1993,10 @@ export function getCachedFillGasUsage( fetchFn, (gasCosts: { nativeGasCost: BigNumber; - tokenGasCost: BigNumber; opStackL1GasCost: BigNumber | undefined; }) => { return { nativeGasCost: BigNumber.from(gasCosts.nativeGasCost), - tokenGasCost: BigNumber.from(gasCosts.tokenGasCost), opStackL1GasCost: gasCosts.opStackL1GasCost ? BigNumber.from(gasCosts.opStackL1GasCost) : undefined, @@ -2034,6 +2031,11 @@ export function getMaxFeePerGas( baseFeeMarkup: baseFeeMultiplier, priorityFeeMarkup: priorityFeeMultiplier, } = getGasMarkup(chainId); + console.log( + "getMaxFeePerGas", + baseFeeMultiplier.toString(), + priorityFeeMarkup.toString() + ); return sdk.gasPriceOracle.getGasPriceEstimate(getProvider(chainId), { chainId, baseFeeMultiplier,