Skip to content

Commit

Permalink
Merge branch 'develop' into sequencer_recover_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krish-nr authored Nov 12, 2024
2 parents 6a5de76 + 1770748 commit c4eaff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ func (rs Receipts) DeriveFields(config *params.ChainConfig, hash common.Hash, nu
rs[i].L1GasPrice = gasParams.l1BaseFee
rs[i].L1BlobBaseFee = gasParams.l1BlobBaseFee
rs[i].L1Fee, rs[i].L1GasUsed = gasParams.costFunc(txs[i].RollupCostData())
if txs[i].GasPrice().Cmp(big.NewInt(0)) == 0 && config.IsWright(time) {
if rs[i].EffectiveGasPrice.Cmp(big.NewInt(0)) == 0 && config.IsWright(time) {
rs[i].L1Fee = big.NewInt(0)
}
rs[i].FeeScalar = gasParams.feeScalar
Expand Down

0 comments on commit c4eaff0

Please sign in to comment.