From f71fec1c894464c585e19d4f73be65f9531536af Mon Sep 17 00:00:00 2001 From: mouseless <97399882+mouseless-eth@users.noreply.github.com> Date: Thu, 26 Sep 2024 17:19:03 +0100 Subject: [PATCH] nit on naming --- src/utils/validation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/validation.ts b/src/utils/validation.ts index 69b9c113..b36cdccc 100644 --- a/src/utils/validation.ts +++ b/src/utils/validation.ts @@ -664,10 +664,10 @@ export async function calcArbitrumPreVerificationGas( const minL1BaseFeeEstimate = await gasPriceManager.arbitrumManager.getMinL1BaseFee() - const maxBaseFee = + const maxL2BaseFee = await gasPriceManager.arbitrumManager.getMaxL2BaseFee() - gasForL1 = (feesForL1 * minL1BaseFeeEstimate) / maxBaseFee + gasForL1 = (feesForL1 * minL1BaseFeeEstimate) / maxL2BaseFee } return staticFee + gasForL1