package tezos-protocol-012-Psithaca
type t = private {
level : Raw_level.t;
level_position : int32;
cycle : Cycle.t;
cycle_position : int32;
expected_commitment : bool;
}
include BASIC_DATA with type t := t
include Tezos_protocol_environment_012_Psithaca.Compare.S with type t := t
val encoding : t Tezos_protocol_environment_012_Psithaca.Data_encoding.t
val pp : Tezos_protocol_environment_012_Psithaca.Format.formatter -> t -> unit
val pp_full :
Tezos_protocol_environment_012_Psithaca.Format.formatter ->
t ->
unit
type level = t
val from_raw : context -> Raw_level.t -> level
val from_raw_with_offset :
context ->
offset:int32 ->
Raw_level.t ->
level Tezos_protocol_environment_012_Psithaca.Error_monad.tzresult
Fails with Negative_level_and_offset_sum
if the sum of the raw_level and the offset is negative.
val last_allowed_fork_level : context -> Raw_level.t
val may_snapshot_rolls : context -> bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>