Dal.Slot_history
module V1 : sig ... end
V1 are serialized slot histories as they appear first in Mumbai. Introduce V2 if encoding in future protocol changes.
include Versioned_data.S with type t = V1.t
The type of versioned values, including the one that is currently used and the previous ones.
val versioned_encoding : versioned Mavryk_base.TzPervasives.Data_encoding.t
Encoding for versioned values, corresponds to the one defined by the protocol.
Conversion to the currently used representation. In practice this function must provide ways to translate values of older versions to the latest one.