Module Evm_node_lib_dev.Evm_events_follower

type parameters = {
  1. rollup_node_endpoint : Uri.t;
    (*

    Rollup node endpoint used to monitor kernel events.

    *)
  2. filter_event : Evm_node_lib_dev_encoding.Ethereum_types.Evm_events.t -> bool;
    (*

    Filter event the follower applies.

    *)
}

start parameters starts the events follower.

val shutdown : unit -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

shutdown () stops the events follower.

val new_rollup_block : Stdlib.Int32.t -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

new_rollup_block rollup_level tells the worker that a new L2 head has been published and that the rollup head is now rollup_level.