Alpha_context.LevelSourceThis module re-exports definitions from Level_repr and Level_storage.
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 := tinclude Tezos_protocol_environment_alpha.Compare.S with type t := tval from_raw_with_offset :
context ->
offset:int32 ->
Raw_level.t ->
level Tezos_protocol_environment_alpha.Error_monad.tzresultFails with Negative_level_and_offset_sum if the sum of the raw_level and the offset is negative.