Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Feb 26, 2025
1 parent d8e1a5e commit e3179e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/evm/header/gas_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func VerifyGasLimit(
case config.IsFUpgrade(header.Time):
state, err := feeStateBeforeBlock(config, parent, header.Time)
if err != nil {
return err
return fmt.Errorf("failed to calculate the fee state: %w", err)
}
maxCapacity := state.MaxCapacity()
if header.GasLimit != uint64(maxCapacity) {
Expand Down

0 comments on commit e3179e8

Please sign in to comment.