package octez-l2-libs

  1. Overview
  2. Docs

Protocol agnostic representation for protocol constants.

type dal_constants = {
  1. feature_enable : bool;
  2. attestation_lag : int;
  3. number_of_slots : int;
  4. cryptobox_parameters : Tezos_crypto_dal.Cryptobox.parameters;
}
type reveal_activation_level = {
  1. blake2B : int32;
  2. metadata : int32;
  3. dal_page : int32;
  4. dal_parameters : int32;
  5. dal_attested_slots_validity_lag : int32;
}
type sc_rollup_constants = {
  1. challenge_window_in_blocks : int;
  2. commitment_period_in_blocks : int;
  3. reveal_activation_level : reveal_activation_level option;
  4. max_number_of_stored_cemented_commitments : int;
}
type protocol_constants = {
  1. minimal_block_delay : int64;
  2. delay_increment_per_round : int64;
  3. sc_rollup : sc_rollup_constants;
  4. dal : dal_constants;
}
OCaml

Innovation. Community. Security.