Tezos_dal_node_lib.L1_helpersval fetch_dal_config :
Rpc_context.t ->
Tezos_crypto_dal_octez_dal_config.Dal_config.t
Tezos_base.TzPervasives.tzresult
Lwt.tfetch_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.twait_for_l1_bootstrapped cctxt waits until the L1 node signals it is bootstrapped.
val infer_dal_network_name :
Rpc_context.t ->
Tezos_base.TzPervasives.Distributed_db_version.Name.t
Tezos_base.TzPervasives.tzresult
Lwt.tinfer_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.
val wait_for_block_with_plugin :
Rpc_context.t ->
(Tezos_base.TzPervasives.Block_header.t * Proto_plugins.t)
Tezos_base.TzPervasives.tzresult
Lwt.twait_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.
val fetch_l1_chain_id :
Rpc_context.t ->
Tezos_base.TzPervasives.Chain_id.t Tezos_base.TzPervasives.tzresult Lwt.tfetch_l1_chain_id cctxt fetches the chain id from the connected L1 node.