package tezt-tezos
val get_preimage : string -> (Dac_node.t, string) RPC_core.t
get_preimage hash
requests the preimage of hash, consisting of a single page, from cctxt. When the request succeeds, the raw page will be returned as a sequence of bytes.
val post_store_preimage :
payload:string ->
pagination_scheme:string ->
(Dac_node.t, string * string) RPC_core.t
post_store_preimage cctxt ~payload ~pagination_scheme
posts a payload
to dac/store_preimage using a given pagination_scheme
. It returns the base58 encoded root page hash and the raw bytes that can be used as contents of a rollup message to trigger the request of the payload in a WASM rollup.
val get_verify_signature : string -> (Dac_node.t, bool) RPC_core.t
get_verify_signature cctxt external_message
requests the DAL node to verify the signature of the external message external_message
via the plugin/dac/verify_signature endpoint. The DAC committee of the DAL node must be the same that was used to produce the external_message
.
val put_dac_member_signature :
hex_root_hash:Hex.t ->
dac_member_pkh:string ->
signature:Tezos_crypto.Aggregate_signature.t ->
(Dac_node.t, unit) RPC_core.t
put_dac_member_signature hex_root_hash dac_member_pkh signature
stores the signature
generated from signing hex_root_hash
by dac_member_pkh
.
val get_certificate :
hex_root_hash:Hex.t ->
(Dac_node.t, int * string * string) RPC_core.t
get_certificate ~hex_root_hash
fetches the DAC certificate for the provided hex_root_hash
.
val get_missing_page : hex_root_hash:Hex.t -> (Dac_node.t, string) RPC_core.t
get_missing_page ~hex_root_hash
calls GET missing_page/page_hash
endpoint.
module Coordinator : sig ... end