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.
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.
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.