Module Tezos_dal_node_lib.L1_helpers

fetch_dal_config cctxt fetches the DAL configuration from the connected L1 node.

val wait_for_l1_bootstrapped : Rpc_context.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t

wait_for_l1_bootstrapped cctxt waits until the L1 node signals it is bootstrapped.

infer_dal_network_name cctxt infers the DAL network name from the connected L1 node. Uses legacy "dal-sandbox" if version <= V22, or "DAL_<CHAIN_NAME>" otherwise.

wait_for_block_with_plugin cctxt waits until a block is available with a known DAL plugin, and returns its header along with the plugin module.