package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-protocol-alpha-libs.smart-rollup/Tezos_smart_rollup_alpha/Game_helpers/Wasm/index.html

Module Game_helpers.WasmSource

Sourceval new_dissection : default_number_of_sections:int -> start_chunk: Tezos_protocol_alpha.Protocol.Alpha_context.Sc_rollup.Game.dissection_chunk -> our_stop_chunk: Tezos_protocol_alpha.Protocol.Alpha_context.Sc_rollup.Game.dissection_chunk -> Tezos_protocol_alpha.Protocol.Alpha_context.Sc_rollup.Tick.t list

new_dissection ~default_number_of_sections ~start_chunk ~our_stop_chunk computes a dissection that satisfies the dissection predicate of the WASM PVM, that is all the ticks in the dissection are aligned with the size of a snapshot.

If start_chunk is not a multiple of the size of a snapshot or if the distance between start_chunk and stop_chunk is not greater than the size of a snapshot, then default_new_dissection is called, because it means the WASM PVM is stuck.

OCaml

Innovation. Community. Security.