package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/octez-l2-libs.smart-rollup/Octez_smart_rollup/Dal/Slot_history_cache/index.html

Module Dal.Slot_history_cacheSource

Sourcemodule V1 : sig ... end

V1 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.t
Sourcetype versioned

The type of versioned values, including the one that is currently used and the previous ones.

Sourceval versioned_encoding : versioned Tezos_base.TzPervasives.Data_encoding.t

Encoding for versioned values, corresponds to the one defined by the protocol.

Sourceval of_versioned : versioned -> V1.t

Conversion to the currently used representation. In practice this function must provide ways to translate values of older versions to the latest one.

Sourceval to_versioned : V1.t -> versioned

Wrapping a current value as a versioned one.

include module type of V1 with type t = V1.t
Sourcetype t = V1.t
Sourceval encoding : t Tezos_base.TzPervasives.Data_encoding.t
OCaml

Innovation. Community. Security.