package tezos-protocol-016-PtMumbai

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

This module provides Proof-Generating Virtual Machine (PVM) running WebAssembly (version 2.0.0).

module type S = sig ... end
module type P = sig ... end
module Make (Lib_scoru_Wasm : Make_wasm) (Context : P) : S with type context = Context.Tree.t and type state = Context.tree and type proof = Context.proof

Build a WebAssembly PVM using the given proof-supporting context.

val reference_initial_state_hash : Sc_rollup_repr.State_hash.t

This is the state hash of reference that both the prover of the node and the verifier of the protocol Protocol_implementation have to agree on (if they do, it means they are using the same tree structure).

Number of ticks between snapshotable states, chosen low enough to maintain refutability.

Warning: This value is used to specialize the dissection predicate of the WASM PVM. Do not change it without a migration plan for already originated smart rollups.

Depends on

  • speed (tick/s) of node in slow mode (from benchmark, 6000000 tick/s)
  • the number of ticks in a commitment (Int64.max_int, as per Number_of_ticks.max_value)

see #3590 for more pointers

val outbox_validity_period : int32
val well_known_reveal_hash : Sc_rollup_reveal_hash.t

The hash requested by the WASM PVM if it cannot decode the input provided by the WASM kernel, that is, if the bytes value cannot be decoded with Sc_rollup_reveal_hash.encoding.

val well_known_reveal_preimage : string

The preimage of well_known_reveal_hash.

OCaml

Innovation. Community. Security.