Skip to content

Commit

Permalink
nit on naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless-eth committed Sep 26, 2024
1 parent 2cfd4b2 commit f71fec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f71fec1

Please sign in to comment.