package tezos-protocol-alpha
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
    
    
  sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
    
    
  doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Sc_rollup_tick_repr/index.html
Module Tezos_raw_protocol_alpha.Sc_rollup_tick_reprSource
This module defines Tick.t, an execution step counter for smart-contract rollups.
jump tick k moves tick by k (possibly negative) steps. The move stops at initial when going back in time.
distance t1 t2 is the absolute value of the difference between t1 and t2.
of_int x returns Some tick for the rollup x-th execution step if x is non-negative. Returns None otherwise.
of_number_of_ticks converts from the bounded int type defined in the Sc_rollup_repr module. Number_of_ticks is used inside of commitments to limit the maximum possible storage requirement. It is bounded between one and max_int meaning that this can never return a negative number so an option isn't required.
size_in_bytes tick is the size in bytes of tick's internal representation. This function is used by the gas model.