@VisibleForTesting
    Optional<ExceptionalHaltReason> getHaltReason() {
      return haltReason;
    }
precompile contract result with Halt state.

@param output the output
@param haltReason the halt reason
@return the precompile contract result
evm/src/main/java/org/hyperledger/besu/evm/precompile/PrecompiledContract.java