Module Octez_smart_rollup_node.Etherlink_specific

val current_level : 'a Tezos_layer2_store.Context.t -> int option Lwt.t

current_level ctxt returns the current Etherlink level for the PVM state in the context ctxt.

NOTE: This function only works for Etherlink rollups (returns None otherwise).