Mavkit_smart_rollup_node.Store_migrationmodule type MIGRATION_ACTIONS = sig ... endType of parameter for migration functor Make.
module type S = sig ... endmodule Make
(S_from : Store_sig.S)
(S_dest : Store_sig.S)
(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) :
SFunctor to create and register a migration.
val maybe_run_migration :
Metadata.t ->
storage_dir:string ->
index_buffer_size:int ->
unit Mavryk_base.TzPervasives.tzresult Lwt.tMigrate store located in rollup node store directory storage_dir if needed. If there is no possible migration path registered to go from the current version to the last Store.version, this function resolves with an error.