Module Evm_node_lib_dev.Observer

val main : ?network:Evm_node_config.Configuration.supported_network -> ?kernel_path:Pvm_types.kernel -> config:Evm_node_config.Configuration.t -> no_sync:bool -> init_from_snapshot:string option -> sandbox:bool -> unit -> unit Tezos_base.TzPervasives.tzresult Lwt.t

main ?network ?kernel_path ~config ~no_sync ~init_from_snapshot ~sandbox () starts the main event-loop of the Observer, consuming the blueprints received from the EVM node endpoint (unless no_sync is true).

If init_from_snapshot and network are set, then the node will fetch and import the latest known snapshot for this network if data_dir was not already created.

If sandbox is true, then the observer node will fetch the sequencer’s public key of its upstream EVM node and patch its own state.