Skip to main content

Module trace_helpers

Module trace_helpers 

Source

Functions§

parity_block_trace_builder
Builds a Parity block trace from a vector of TransactionTrace objects returned by the debug_traceBlockByNumber endpoint of pallet revive and a Substrate Block object recovered from pallet revive. The block must be “hydrated” with all the transactions details. This is used to build the output for Parity client’s RPC method trace_block.
parity_transaction_trace_builder
Builds a Parity transaction trace from a Trace object returned by the debug_traceTransaction endpoint of pallet revive and a TransactionInfo object recovered from pallet revive. This is used to build the output for Parity client’s RPC method trace_transaction.
parity_transaction_trace_from_call_trace 🔒
Builds a Parity TransactionTrace from a CallTrace from pallet revive and a trace address, which is built with the indices of the path from the transaction root callto the specific call in the call tree.