@Override
  public Operation.OperationResult executeFixedCostOperation(
      final MessageFrame frame, final EVM evm) {
    final Optional<Wei> maybeBaseFee = frame.getBlockValues().getBaseFee();
    if (maybeBaseFee.isEmpty()) {
      return new Operation.OperationResult(gasCost, ExceptionalHaltReason.INVALID_OPERATION);
    }
    frame.pushStackItem(maybeBaseFee.orElseThrow());
    return successResponse;
  }
Instantiates a new Base fee operation.

@param gasCalculator the gas calculator
evm/src/main/java/org/hyperledger/besu/evm/operation/BaseFeeOperation.java