Evm_node_lib_dev.Events
General purposes events.
received_upgrade payload
advertises that the sequencer received an upgrade of payload payload
.
val pending_upgrade :
Evm_node_lib_dev_encoding.Ethereum_types.Upgrade.t ->
unit Lwt.t
pending_upgrade upgrade
advertises that the EVM node is aware that an upgrade is pending.
val applied_upgrade :
Evm_node_lib_dev_encoding.Ethereum_types.hash ->
Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
unit Lwt.t
applied_upgrade root_hash level
advertises that the kernel of the EVM node successfully upgraded to root_hash
with the level
th blueprint.
val failed_upgrade :
Evm_node_lib_dev_encoding.Ethereum_types.hash ->
Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
unit Lwt.t
failed_upgrade root_hash level
advertises that the kernel of the EVM node failed to upgrade to root_hash
with the level
th blueprint.
ignored_kernel_arg ()
advertises that the EVM node has ignored the path to the initial kernel given as a command-line argument since its EVM state was already initialized.
catching_up_evm_event ~from ~to_
advertises that the sequencer is catching up on event produced by the evm kernel in the rollup node from L1 level from
to to_
.
is_ready ~rpc_addr ~rpc_port
advertises that the sequencer is ready and listens to rpc_addr
:rpc_port
.
private_server_is_ready ~rpc_addr ~rpc_port
advertises that the private rpc server is ready and listens to rpc_addr
:rpc_port
.
shutdown_rpc_server ~private_ ()
advertises that the RPC server was shut down, private_
tells whether it is the private server or not.
shutdown_node ~exit_status
advertises that the sequencer was shutdown, and exits with exit_status
.
callback_log ~uri ~meth ~body
is used as the debug event used as callback for resto to logs the requests.
val event_kernel_log :
level:kernel_log_level ->
kind:kernel_log_kind ->
msg:string ->
unit Lwt.t
Logs kernel log Debug
.