Evm_node_lib_dev.Helpers
val now : unit -> Mavryk_base.TzPervasives.Time.Protocol.t
now ()
returns the current time.
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.