package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type id = Id.t

Alias for L1 operations ids

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

Structure to keep track of injection errors.

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

The type of L1 operations that are injected on Tezos. These have an id 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 : 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.