package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Octez_smart_rollup_node.Store_migrationSource

Sourcemodule type MIGRATION_ACTIONS = sig ... end

Type of parameter for migration functor Make.

Sourcemodule type S = sig ... end
Sourceval maybe_run_migration : Metadata.t -> storage_dir:string -> index_buffer_size:int -> unit Tezos_base.TzPervasives.tzresult Lwt.t

Migrate 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.