Store_v2.LccStorage containing the last cemented commitment.
include Mavryk_layer2_store.Indexed_store.SINGLETON_STORE
with type value := lccval load :
path:string ->
'a Mavryk_layer2_store.Store_sigs.mode ->
'a t Mavryk_base.TzPervasives.tzresult Lwt.tLoad (or initializes) a singleton store in the file path.
val read : [> `Read ] t -> lcc option Mavryk_base.TzPervasives.tzresult Lwt.tReads the current value from the disk. Returns None if the file does not exist.
val write :
[> `Write ] t ->
lcc ->
unit Mavryk_base.TzPervasives.tzresult Lwt.tWrite the value to disk.
val delete : [> `Write ] t -> unit Mavryk_base.TzPervasives.tzresult Lwt.tDeletes the value from the disk.