Module Evm_node_lib_dev.Helpers

now () returns the current time.

val with_timing : (Ptime.span -> unit Lwt.t) -> (unit -> 'a Lwt.t) -> 'a Lwt.t

with_timing event k computes how much time k () takes to be computed and advertises it with event.

val unwrap_error_monad : (unit -> 'a Mavryk_base.TzPervasives.tzresult Lwt.t) -> 'a Lwt.t

unwrap_error_monad f execute f and fails with a Failure when the error monad returns an error.