Evm_node_lib_dev.Events
General purposes events.
val trace_encoding :
Tezos_base.TzPervasives.tztrace Tezos_base.TzPervasives.Data_encoding.t
Error encoding specific to the EVM node that wraps the default error encoding for event.
Use it to prevent the command `list events` to show all existing octez error.
received_upgrade payload
advertises that the sequencer received an upgrade of payload payload
.
val pending_upgrade :
Evm_node_lib_dev_encoding.Evm_events.Upgrade.t ->
unit Lwt.t
pending_upgrade upgrade
advertises that the EVM node is aware that an upgrade is pending.
val pending_sequencer_upgrade :
Evm_node_lib_dev_encoding.Evm_events.Sequencer_upgrade.t ->
unit Lwt.t
pending_sequencer_upgrade upgrade
advertises that the EVM node is aware that a sequencer upgrade is pending.
val applied_sequencer_upgrade :
Tezos_base.TzPervasives.Signature.Public_key.t ->
Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
unit Lwt.t
applied_sequencer_upgrade sequencer level
advertises that the sequencer of the EVM node successfully upgraded to sequencer
before the level
th blueprint.
val failed_sequencer_upgrade :
new_sequencer:Tezos_base.TzPervasives.Signature.Public_key.t ->
found_sequencer:Tezos_base.TzPervasives.Signature.Public_key.t option ->
Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
unit Lwt.t
applied_sequencer_upgrade sequencer level
advertises that the sequencer of the EVM node failed to upgrade to sequencer
before the level
th blueprint.
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.
ignored_periodic_snapshot_arg ()
advertises that the EVM node has ignored the request to create periodic snapshots when garbage collecting since it was started in Archive mode.
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_
.
val is_ready :
rpc_addr:string ->
rpc_port:int ->
websockets:bool ->
backend:Evm_node_config.Configuration.rpc_server ->
unit Lwt.t
is_ready ~rpc_addr ~rpc_port ~websockets ~backend
advertises that the sequencer is ready and listens to rpc_addr
:rpc_port
.
legacy_mode ()
advertises the EVM node is using the legacy block storage.
spawn_rpc_is_ready ()
advertises that the RPC spawned with experimental feature spawn_rpc
has made its public endpoint available.
val private_server_is_ready :
rpc_addr:string ->
rpc_port:int ->
websockets:bool ->
backend:Evm_node_config.Configuration.rpc_server ->
unit Lwt.t
private_server_is_ready ~rpc_addr ~rpc_port ~websockets ~backend
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 string_from_kernel_log_level : kernel_log_level -> string
val event_kernel_log :
level:kernel_log_level ->
kind:kernel_log_kind ->
msg:string ->
unit Lwt.t
Logs kernel log Debug
.
preload_kernel version
advertizes the EVM node has preloaded in the module cache the kernel version
.
val patched_state :
string ->
Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
unit Lwt.t
val predownload_kernel : Tezos_base.TzPervasives.Hex.t -> unit Lwt.t
predownload_kernel root_hash
advertizes the EVM node has downloaded all preimages under root_hash
.
val predownload_kernel_failed :
Tezos_base.TzPervasives.Hex.t ->
Tezos_base.TzPervasives.tztrace ->
unit Lwt.t
predownload_kernel_failed root_hash error
advertizes the EVM node has failed to download preimages under root_hash
with error
.
sandbox_started level
advertizes that sandbox mode started on top of level level
.
val cannot_fetch_time_between_blocks :
Evm_node_config.Configuration.time_between_blocks ->
Tezos_base.TzPervasives.tztrace ->
unit Lwt.t
val invalid_node_da_fees :
node_da_fees:Z.t ->
kernel_da_fees:Z.t ->
block_number:Evm_node_lib_dev_encoding.Ethereum_types.quantity option ->
call:Tezos_base.TzPervasives.Data_encoding.json ->
unit Lwt.t
replay_csv_available filename
advertises that filename
is now available for analysis or debugging purposes.
wasm_pvm_fallback ()
advertises that the node has to fallback to the PVM to execute a block, which is slow.
val rpc_call_fallback : string -> Tezos_base.TzPervasives.tztrace -> unit Lwt.t
rpc_call_fallback service_name error
advertises that the node has to fallback to an alternative RPC because one is unavailable.
missing_chain_id ()
advertises that the node could not check the consistency of the stored chain id with the selected network.
missing_block level
advertises that the node could not find the block in level despite having received an event saying it would be available.
multichain_node_singlechain_kernel ()
warns that the node was configured to be executed in a multichain environment, but was given a kernel for a single chain environment.
Emit a warning that the imported snapshot uses the legacy block storage.
val import_snapshot_archive_in_progress :
archive_name:string ->
elapsed_time:Tezos_base.TzPervasives.Time.System.Span.t ->
unit Lwt.t
import_snapshot_archive_in_progress ~archive_name ~elapsed_time
advertises that the node is importing the snapshot archive named archive_name
, and explicitly mentions the time elapsed since the extraction started.
val replicate_transaction_dropped :
Evm_node_lib_dev_encoding.Ethereum_types.hash ->
string ->
unit Lwt.t
replicate_transaction_dropped hash reason
advertises that the transaction hash
was dropped because it is now invalid in the sandbox.