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_commitment_repr/index.html
Module Tezos_raw_protocol_alpha.Sc_rollup_commitment_reprSource
A commitment represents a claim about the state of the Inbox and PVM at some Inbox level.
Versioning, see Sc_rollup_data_version_sig.S for more information.
include module type of V1 with type t = V1.t
type t = V1.t = {compressed_state : Sc_rollup_repr.State_hash.t;inbox_level : Raw_level_repr.t;predecessor : Hash.t;number_of_ticks : Sc_rollup_repr.Number_of_ticks.t;
}val genesis_commitment :
origination_level:Raw_level_repr.t ->
genesis_state_hash:Sc_rollup_repr.State_hash.t ->
tgenesis_commitment ~origination_level ~genesis_state_hash is the commitment that the protocol "publish" and "cement" when originating a new rollup. Each rollup have a different genesis_commitment because the compressed_state is computed after the boot sector is set. It has the following values:
compressed_state=genesis_state_hashinbox_level=origination_levelpredecessor=Hash.zeronumber_of_messages=Sc_rollup_repr.Number_of_messages.min_valuenumber_of_ticks=Sc_rollup_repr.Number_of_ticks.min_value
where Sc_rollup_repr.Number_of_messages.min_value and Sc_rollup_repr.Number_of_ticks.min_value are equal to zero.
See Sc_rollup_storage.originate for the usage.
The genesis of a rollup is characterized by the Tezos level of the rollup origination, and the hash of the commitment computed by the protocol to specialize the PVM initial state with the provided boot sector.