package octez-l2-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Make_pvm.Internal_for_testsSource

Sourceval get_module_instance_exn : tree -> Tezos_webassembly_interpreter.Instance.module_inst Lwt.t
Sourceval is_stuck : tree -> Wasm_pvm_errors.t option Lwt.t
Sourceval set_maximum_reboots_per_input : Z.t -> tree -> tree Lwt.t
Sourceval decr_reboot_counter : tree -> tree Lwt.t
Sourceval reset_reboot_counter : tree -> tree Lwt.t
Sourceval compute_step_many_until : wasm_entrypoint:string -> ?max_steps:int64 -> ?reveal_builtins:Builtins.reveals -> ?write_debug:Builtins.write_debug -> (Wasm_pvm_state.Internal_state.pvm_state -> bool Lwt.t) -> tree -> (tree * int64) Lwt.t
include Wasm_pvm_sig.Unsafe with type tree := tree
Sourceval get_max_nb_ticks : tree -> Z.t Lwt.t

Retrieve the maximum number of ticks for the PVM from the state.

Sourceval set_max_nb_ticks : Z.t -> tree -> tree Lwt.t

Change the maximum number of ticks (per snapshot) of the WASM PVM. This is to be used only for tests or to increase the tick limit in a non-refutable setting.

include Wasm_vm_sig.Internal_for_tests with type state := tree
Sourceval compute_step_many_with_hooks : ?reveal_builtins:Builtins.reveals -> ?write_debug:Builtins.write_debug -> ?after_fast_exec:(unit -> unit) -> ?stop_at_snapshot:bool -> wasm_entrypoint:string -> max_steps:int64 -> tree -> (tree * int64) Lwt.t
OCaml

Innovation. Community. Security.