Octez_smart_rollup_node.Commitment_eventSourceThis module defines functions that emit the events used for the rollup node when it is storing and publishing commitments (see Commitment).
Section for commitment events.
val commitment_stored :
Octez_smart_rollup.Commitment.Hash.t ->
Octez_smart_rollup.Commitment.t ->
unit Lwt.tcommitment_stored commitment_hash commitment emits the event that the commitment was stored.
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.
val last_cemented_commitment_updated :
Octez_smart_rollup.Commitment.Hash.t ->
int32 ->
unit Lwt.tlast_cemented_commitment_updated hash level emits the event that the last cemented commitment was updated to the given hash at the given inbox level.
val last_published_commitment_updated :
Octez_smart_rollup.Commitment.Hash.t ->
int32 ->
unit Lwt.tlast_published_commitment_updated hash level emits the event that the last published commitment was updated to the given hash at the given inbox level.
val commitment_parent_is_not_lcc :
int32 ->
Octez_smart_rollup.Commitment.Hash.t ->
Octez_smart_rollup.Commitment.Hash.t ->
unit Lwt.tcommitment_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.
compute_commitment level emits the event that a new commitment is being computed and stored for the block at the given level.
publish_commitment hash level emits the event that a new commitment is being published.