package octez-l2-libs

  1. Overview
  2. Docs
type host_state = {
  1. retrieve_mem : unit -> Tezos_wasmer.Memory.t;
  2. buffers : Tezos_webassembly_interpreter.Eval.buffers;
  3. mutable durable : Tezos_scoru_wasm.Durable.t;
}

Host state environment for Fast Execution

make ~debug builtins host_state generates a list of host functions that can be imported by WebAssembly modules. If debug is true, an implementation for write_debug will be picked that prints to the standard output.

OCaml

Innovation. Community. Security.