package tezos-protocol-015-PtLimaPt
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Sc_rollup_commitment_repr/index.html
Module Tezos_raw_protocol_015_PtLimaPt.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.
val genesis_info_encoding :
genesis_info Tezos_protocol_environment_015_PtLimaPt.Data_encoding.t