Skip to content

Commit

Permalink
Fix: don't include receipt's l1Fee in calculated gas-payment
Browse files Browse the repository at this point in the history
  • Loading branch information
ezdac committed Oct 9, 2024
1 parent 8bb6ab9 commit d30f0c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions op-e2e/celo/src/withdraw.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export const withdraw = async function (args, config) {
hash: initiateHash,
})

const l2GasPayment =
receipt.gasUsed * receipt.effectiveGasPrice + receipt.l1Fee
const l2GasPayment = receipt.gasUsed * receipt.effectiveGasPrice;

// FIXME: this blocks longer, the longer the devnet is running, see
// https://github.com/ethereum-optimism/optimism/issues/7668
Expand Down

0 comments on commit d30f0c6

Please sign in to comment.