Module Evm_node_lib_dev.Blueprint_events

Events related to the publication of blueprints.

val section : string list
val publisher_is_ready : unit -> unit Lwt.t

publisher_is_ready () advertises that the worker is ready to accept requests.

val publisher_shutdown : unit -> unit Lwt.t

publisher_shutdown () advertises that the worker has been shutdown and will not accept requests anymore.

val blueprint_applied : (Z.t * Evm_node_lib_dev_encoding.Ethereum_types.block_hash) -> unit Lwt.t

blueprint_applied (level, hash) advertizes that a blueprint for level level has been applied onto the local state.

val blueprint_injected : Z.t -> unit Lwt.t

blueprint_injected level advertizes that a blueprint for level level has been forwarded to a rollup node

val blueprint_injection_failed : Z.t -> unit Lwt.t

blueprint_injection_failed level advertizes that a blueprint could not be injected for level level.

val invalid_blueprint_produced : Z.t -> unit Lwt.t

invalid_blueprint_produced level advertizes that the sequencer has tried to produce a blueprint which does not result in the publication of a new Ethereum block.

missing_blueprints count from to_ advertizes that a sequencer has detect it is missing count blueprints in the provided range. This means the sequencer store is inconsistent.

val catching_up : Z.t -> Z.t -> unit Lwt.t

catching_up min max advertizes that the sequencer is reinjecting blueprints from level min to max because the rollup node is lagging.

blueprint_proposal level duration advertizes the sequencer has crafted a blueprint for level in duration time.

blueprint_production level duration advertizes the sequencer has fully produced a blueprint for level in duration time.