Dal.Slot_history_cachemodule V1 : sig ... endV1 are serialized slot history caches as they appear first in Mumbai. Introduce V2 if encoding in future protocol changes.
include Versioned_data.S with type t = V1.tThe type of versioned values, including the one that is currently used and the previous ones.
val versioned_encoding : versioned Mavryk_base.TzPervasives.Data_encoding.tEncoding 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.