Tezos_dal_node_lib.L1_helpers
val fetch_dal_config :
Rpc_context.t ->
Tezos_crypto_dal_octez_dal_config.Dal_config.t
Tezos_base.TzPervasives.tzresult
Lwt.t
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.
val infer_dal_network_name :
Rpc_context.t ->
Tezos_base.TzPervasives.Distributed_db_version.Name.t
Tezos_base.TzPervasives.tzresult
Lwt.t
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.
val wait_for_block_with_plugin :
Rpc_context.t ->
(Tezos_base.TzPervasives.Block_header.t * Proto_plugins.t)
Tezos_base.TzPervasives.tzresult
Lwt.t
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.