package octez-smart-rollup-node-lib

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

Module Octez_smart_rollup_node.Commitment_eventSource

This module defines functions that emit the events used for the rollup node when it is storing and publishing commitments (see Commitment).

Sourceval starting : unit -> unit Lwt.t
Sourceval stopping : unit -> unit Lwt.t
Sourceval section : string list

Section for commitment events.

commitment_stored commitment_hash commitment emits the event that the commitment was stored.

Sourceval commitment_will_not_be_published : int32 -> Octez_smart_rollup.Commitment.t -> unit Lwt.t

commitment_will_not_be_published level commitment emits the event that commitment will not be published: its inbox level is less or equal than the last cemented commitment level.

Sourceval last_cemented_commitment_updated : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

last_cemented_commitment_updated hash level emits the event that the last cemented commitment was updated to the given hash at the given inbox level.

Sourceval last_published_commitment_updated : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

last_published_commitment_updated hash level emits the event that the last published commitment was updated to the given hash at the given inbox level.

Sourceval commitment_parent_is_not_lcc : int32 -> Octez_smart_rollup.Commitment.Hash.t -> Octez_smart_rollup.Commitment.Hash.t -> unit Lwt.t

commitment_parent_is_not_lcc predecessor_hash last_cemented_commitment_hash emits the event that a commitment at the given inbox level is being published, whose parent is the last cemented commitment, but the commitment's predecessor_hash differs from the last_cemented_commitment_hash. This is a critical error, the rollup node will be terminated.

Sourceval compute_commitment : int32 -> unit Lwt.t

compute_commitment level emits the event that a new commitment is being computed and stored for the block at the given level.

Sourceval publish_commitment : Octez_smart_rollup.Commitment.Hash.t -> int32 -> unit Lwt.t

publish_commitment hash level emits the event that a new commitment is being published.

Sourcemodule Publisher : sig ... end

Events emmitted by the Publisher worker

OCaml

Innovation. Community. Security.