package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.