Skip to content

Commit

Permalink
op-service: Update CalcBaseFee call
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton committed Oct 24, 2023
1 parent 25f1068 commit 7210701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-program/client/l2/engineapi/block_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func NewBlockProcessorFromHeader(provider BlockDataProvider, h *types.Header) (*
return nil, fmt.Errorf("get parent state: %w", err)
}
header.Number = new(big.Int).Add(parentHeader.Number, common.Big1)
header.BaseFee = eip1559.CalcBaseFee(provider.Config(), parentHeader)
header.BaseFee = eip1559.CalcBaseFee(provider.Config(), parentHeader, header.Time)
header.GasUsed = 0
gasPool := new(core.GasPool).AddGas(header.GasLimit)
return &BlockProcessor{
Expand Down

0 comments on commit 7210701

Please sign in to comment.