package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-l2-libs.smart-rollup/Octez_smart_rollup/Commitment/V1/index.html

Module Commitment.V1Source

Sourcetype t = {
  1. compressed_state : State_hash.t;
  2. inbox_level : int32;
  3. predecessor : Hash.t;
  4. number_of_ticks : int64;
}

Type of smart rollup commitments. See Protocol.Sc_rollup_commitment_repr.t.

Sourceval pp : Format.formatter -> t -> unit

Pretty printing protocol agnostic commitments.

Sourceval encoding : t Tezos_base.TzPervasives.Data_encoding.t

Encoding for commitments.

Sourceval hash : t -> Hash.t

Hashing a commitment.

Sourceval genesis_commitment : origination_level:int32 -> genesis_state_hash:State_hash.t -> t

genesis_commitment ~origination_level ~genesis_state_hash is the commitment that is published when originating a new rollup. See Protocol.Sc_rollup_commitment_repr.genesis_commitment.

OCaml

Innovation. Community. Security.