package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type operation = Octez_smart_rollup.L1_operation.t

Hash with b58check encoding iop(53), for hashes of injector operations

type hash = Hash.t

Alias for L1 operations hashes

type errors = {
  1. count : int;
  2. last_error : Tezos_base.TzPervasives.tztrace option;
}

Structure to keep track of injection errors.

type t = private {
  1. hash : hash;
  2. operation : operation;
  3. mutable errors : errors;
}

The type of L1 operations that are injected on Tezos. These have a hash attached to them that allows tracking and retrieving their status.

val make : operation -> t

make op returns an L1 operation with the corresponding hash.

Encoding for L1 operations

val pp : Stdlib.Format.formatter -> t -> unit

Pretty printer for L1 operations. Only the relevant part for the rollup node is printed.

val register_error : t -> Tezos_base.TzPervasives.tztrace -> unit

Register an error as occurring during injection of an operation. Its internal error counter is incremented.

OCaml

Innovation. Community. Security.