Evm_node_lib_dev.Evm_storeval init : data_dir:string -> t Mavryk_base.TzPervasives.tzresult Lwt.tinit ~data_dir returns a handler to the EVM node store located under data_dir. If no store is located in data_dir, an empty store is created. Also returns if the store was created (true) or was already existing (false).
val with_transaction :
t ->
(t -> 'a Mavryk_base.TzPervasives.tzresult Lwt.t) ->
'a Mavryk_base.TzPervasives.tzresult Lwt.twith_transaction store k wraps the accesses to store made in the continuation k within a SQL transaction. If k fails, the transaction is rollbacked. Otherwise, the transaction is committed.
val assert_in_transaction : t -> unitassert_in_transaction store raises an exception if a transaction has not been started with store.
module Blueprints : sig ... endmodule Context_hashes : sig ... endmodule Kernel_upgrades : sig ... endmodule Delayed_transactions : sig ... endmodule L1_latest_known_level : sig ... endval reset :
t ->
l2_level:Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
unit Mavryk_base.TzPervasives.tzresult Lwt.treset store ~l2_level clear the table that has information related to l2 level that after l2_level