@Override
  public String toString() {
    return status.name() + maybeInvalidReason.map(ir -> "(" + ir + ")").orElse("");
  }
Optionally return the reason why the transaction is invalid if present

@return an optional with the invalid reason
plugin-api/src/main/java/org/hyperledger/besu/plugin/data/TransactionSelectionResult.java