Evm_node_lib_dev.Data_dirtype store_info = {rollup_address : Octez_smart_rollup.Address.t;current_number : Evm_node_lib_dev_encoding.Ethereum_types.quantity;history_mode : Evm_node_config.Configuration.history_mode;first_number : Evm_node_lib_dev_encoding.Ethereum_types.quantity;}val export_store :
data_dir:string ->
output_db_file:string ->
store_info Tezos_base.TzPervasives.tzresult Lwt.texport_store ~data_dir ~output_db_file exports the store database with data from the data_dir into the output_db_file and returns the rollup address and the current level.
val store_info :
data_dir:string ->
store_info Tezos_base.TzPervasives.tzresult Lwt.tstore_info ~data_dir_file returns information about the store database in data_dir such as the address and the current level.
val lock : data_dir:string -> unit Tezos_base.TzPervasives.tzresult Lwt.tlock ~data_dir takes an exclusive lock on data_dir for the duration of the process. It fails if there is already another evm node with a lock.
val use :
data_dir:string ->
(unit -> 'a Tezos_base.TzPervasives.tzresult Lwt.t) ->
'a Tezos_base.TzPervasives.tzresult Lwt.tuse ~data_dir k creates data_dir if necessary before executing k (), and deletes data_dir if it was created and k () fails.