Module Evm_node_lib_dev.Drift_monitor

val run : evm_node_endpoint:Uri.t -> (unit -> Evm_node_lib_dev_encoding.Ethereum_types.quantity Lwt.t) -> 'a Tezos_base.TzPervasives.tzresult Lwt.t

run is a never-ending promise that will regularly check the difference between the local head of the node and the head of the upstream EVM node used to fetch blueprint from.

It sets last_observed_drift accordingly.

val last_observed_drift : unit -> Z.t

The difference between the remote upstream head and the local head of the node, as last observed by monitor_drift.