package octez-protocol-013-PtJakart-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Protocol constants overriding logic.

type t = {
  1. preserved_cycles : int option;
  2. blocks_per_cycle : int32 option;
  3. blocks_per_commitment : int32 option;
  4. blocks_per_stake_snapshot : int32 option;
  5. cycles_per_voting_period : int32 option;
  6. hard_gas_limit_per_operation : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Gas.Arith.integral option;
  7. hard_gas_limit_per_block : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Gas.Arith.integral option;
  8. proof_of_work_threshold : int64 option;
  9. tokens_per_roll : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  10. seed_nonce_revelation_tip : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  11. origination_size : int option;
  12. baking_reward_fixed_portion : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  13. baking_reward_bonus_per_slot : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  14. endorsing_reward_per_slot : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  15. cost_per_byte : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  16. hard_storage_limit_per_operation : Z.t option;
  17. quorum_min : int32 option;
  18. quorum_max : int32 option;
  19. min_proposal_quorum : int32 option;
  20. liquidity_baking_subsidy : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  21. liquidity_baking_sunset_level : int32 option;
  22. liquidity_baking_toggle_ema_threshold : int32 option;
  23. max_operations_time_to_live : int option;
  24. minimal_block_delay : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Period.t option;
  25. delay_increment_per_round : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Period.t option;
  26. minimal_participation_ratio : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Constants.ratio option;
  27. consensus_committee_size : int option;
  28. consensus_threshold : int option;
  29. max_slashing_period : int option;
  30. frozen_deposits_percentage : int option;
  31. double_baking_punishment : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  32. ratio_of_frozen_deposits_slashed_per_double_endorsement : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Constants.ratio option;
  33. cache_script_size : int option;
  34. cache_stake_distribution_cycles : int option;
  35. cache_sampler_state_cycles : int option;
  36. tx_rollup_enable : bool option;
  37. tx_rollup_origination_size : int option;
  38. tx_rollup_hard_size_limit_per_inbox : int option;
  39. tx_rollup_hard_size_limit_per_message : int option;
  40. tx_rollup_max_withdrawals_per_batch : int option;
  41. tx_rollup_commitment_bond : Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Tez.t option;
  42. tx_rollup_finality_period : int option;
  43. tx_rollup_max_inboxes_count : int option;
  44. tx_rollup_withdraw_period : int option;
  45. tx_rollup_max_messages_per_inbox : int option;
  46. tx_rollup_max_commitments_count : int option;
  47. tx_rollup_cost_per_byte_ema_factor : int option;
  48. tx_rollup_max_ticket_payload_size : int option;
  49. tx_rollup_rejection_max_proof_size : int option;
  50. tx_rollup_sunset_level : int32 option;
  51. sc_rollup_enable : bool option;
  52. sc_rollup_origination_size : int option;
  53. sc_rollup_challenge_window_in_blocks : int option;
  54. sc_rollup_max_available_messages : int option;
  55. chain_id : Tezos_base.TzPervasives.Chain_id.t option;
  56. timestamp : Tezos_base.TzPervasives.Time.Protocol.t option;
  57. initial_seed : Tezos_protocol_013_PtJakart.Protocol.State_hash.t option option;
}

Equivalent of Constants.parametric with additionally chain_id and timestamp but each field is wrapped in an option. Some is an override, None means "Use the default value".

Shamefully copied from Constants_repr.parametric_encoding and adapted (opt instead of req).

val no_overrides : t
type field =
  1. | O : {
    1. name : string;
    2. override_value : 'a option;
    3. pp : Format.formatter -> 'a -> unit;
    } -> field

Existential wrapper to support heterogeneous lists/maps.

val field_pp : Format.formatter -> field -> unit
OCaml

Innovation. Community. Security.