Module Mavkit_smart_rollup_node.Store_version

type t =
  1. | V0
  2. | V1
  3. | V2
  4. | V3
  5. | V4
val pp : Stdlib.Format.formatter -> t -> unit

Pretty-printer for store versions

val read_version_file : dir:string -> t option Mavryk_base.TzPervasives.tzresult Lwt.t

Read the version file from dir.

val write_version_file : dir:string -> t -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

Write a version to the version file in dir.