public static OperationResult invalidOperationResult(final int opcode) {
    return new OperationResult(0, ExceptionalHaltReason.newInvalidOperation(opcode));
  }
Creates an {@link OperationResult} for an invalid opcode.

@param opcode the invalid opcode encountered
@return an {@link OperationResult} with zero gas cost and a description of the invalid opcode
evm/src/main/java/org/hyperledger/besu/evm/operation/InvalidOperation.java