public static TransactionProcessingResult failed(
      final long gasUsedByTransaction,
      final long gasRemaining,
      final ValidationResult<TransactionInvalidReason> validationResult,
      final Optional<Bytes> revertReason,
      final Optional<ExceptionalHaltReason> exceptionalHaltReason) {
    return new TransactionProcessingResult(
        Status.FAILED,
        List.of(),
        gasUsedByTransaction,
        gasRemaining,
        Bytes.EMPTY,
        validationResult,
        revertReason,
        exceptionalHaltReason);
  }
The transaction failed to be completely processed.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/processing/TransactionProcessingResult.java