Mavryk_raw_protocol_alpha.Raw_level_reprThe shell's notion of a level: an integer indicating the number of blocks since genesis: genesis is 0, all other blocks have increasing levels from there.
type raw_level = tmodule Set : Mavryk_protocol_environment_alpha.Set.S with type elt = tmodule Map : Mavryk_protocol_environment_alpha.Map.S with type key = tval encoding : raw_level Mavryk_protocol_environment_alpha.Data_encoding.tval rpc_arg : raw_level Mavryk_protocol_environment_alpha.RPC_arg.argval pp :
Mavryk_protocol_environment_alpha.Format.formatter ->
raw_level ->
unitinclude Mavryk_protocol_environment_alpha.Compare.S with type t := raw_levelval to_int32 : raw_level -> int32val to_int32_non_negative :
raw_level ->
Mavryk_protocol_environment_alpha.Bounded.Non_negative_int32.tval of_int32_exn : int32 -> raw_levelval of_int32 :
int32 ->
raw_level Mavryk_protocol_environment_alpha.Error_monad.tzresultCan trigger Unexpected_level error when the level to encode is negative
val of_int32_non_negative :
Mavryk_protocol_environment_alpha.Bounded.Non_negative_int32.t ->
raw_levelval root : raw_levelReturn the predecessor of l when l >= 2, otherwise return None.
module Index : Storage_description.INDEX with type t = raw_level