Module Octez_smart_rollup_node.Etherlink_specific

val current_level : (module Pvm_plugin_sig.S) -> 'a Tezos_layer2_store.Context.t -> int option Lwt.t

current_level plugin 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).