Rpc_encodings.Tezosxtype http_trace_entry = {tx_hash : Evm_node_lib_dev_encoding.Ethereum_types.hash;traces : Simulation.http_trace list;}Shared wire shape for the three http_trace* replay RPCs. The Http_trace_transaction response is a single http_trace_entry, and the two block-level variants return a list of them. All three share the same JSON encoding so any future change to the per-transaction wire format happens in one place.
val http_trace_entry_encoding :
http_trace_entry Tezos_base.TzPervasives.Data_encoding.tmodule Get_tezos_ethereum_address :
METHOD
with type input = Evm_node_lib_dev_tezlink.Tezos_types.Contract.t
and type output = Evm_node_lib_dev_encoding.Ethereum_types.addressmodule Get_ethereum_tezos_address :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.address
and type output = Evm_node_lib_dev_tezlink.Tezos_types.Contract.tmodule Trace_call : sig ... endmodule Http_trace_transaction :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.hash
and type output = http_trace_entryImplements http_traceTransaction: re-runs the block containing the given transaction with HTTP trace capture enabled and returns the collected HTTP exchanges.
module Http_trace_block_by_number :
METHOD
with type input =
Evm_node_lib_dev_encoding.Ethereum_types.Block_parameter.t
and type output = http_trace_entry listImplements http_traceBlockByNumber: re-runs the block at the given block number with HTTP trace capture enabled and returns one entry per transaction, in transaction order.
module Http_trace_block_by_hash :
METHOD
with type input = Evm_node_lib_dev_encoding.Ethereum_types.block_hash
and type output = http_trace_entry listSame as Http_trace_block_by_number but indexed by block hash.