Store_migration.Make
Functor to create and register a migration.
module S_from : Store_sig.S
module S_dest : Store_sig.S
module Actions :
MIGRATION_ACTIONS
with type from_store := Mavryk_layer2_store.Store_sigs.ro S_from.t
and type dest_store := Mavryk_layer2_store.Store_sigs.rw S_dest.t
val migrate :
Metadata.t ->
storage_dir:string ->
index_buffer_size:int ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
Migration function for the store located in storage_dir
.