@Override
  public boolean equals(final Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof TransactionReceipt)) {
      return false;
    }
    final TransactionReceipt other = (TransactionReceipt) obj;
    return logs.equals(other.getLogsList())
        && Objects.equals(stateRoot, other.stateRoot)
        && cumulativeGasUsed == other.getCumulativeGasUsed()
        && status == other.status;
  }
Returns the status code for the status-encoded transaction receipt

@return the status code if the transaction receipt is status-encoded; otherwise {@code -1}
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/TransactionReceipt.java