Module Evm_node_lib_dev.Wasm_debugger

val config : ?sender:Tezos_protocol_alpha.Protocol.Contract_hash.t -> ?source:Tezos_base.TzPervasives.Signature.Public_key_hash.t -> ?destination:Tezos_protocol_alpha.Protocol.Alpha_context.Sc_rollup.Address.t -> ?preimage_directory:string -> ?preimage_endpoint:Uri.t -> ?dal_pages_directory:string -> ?kernel_debug:bool -> ?flamecharts_directory:string -> ?timings_file:string -> unit -> config

Constructs a configuration for rollup execution.

type kernel =
  1. | In_memory of string
  2. | On_disk of string

Describe where the kernel code can be found: either in-memory from a buffer, or on-disk using a given path.

val read_kernel : kernel -> (string * bool) Tezos_base.TzPervasives.tzresult Lwt.t

read_kernel kernel returns a tuple consisting of the kernel code content and a boolean is_binary, where is_binary is true if content is a WASM blob, and false if it is a wat file (WebAssembly text format).

val check_kernel : binary:bool -> name:string -> Tezos_scoru_wasm.Wasm_pvm_state.version -> string -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val set_durable_value : ?edit_readonly:bool -> Tezos_layer2_irmin_context.Irmin_context.tree -> string -> string -> Tezos_layer2_irmin_context.Irmin_context.tree Lwt.t