19 std::vector<augmented_transaction_trace> traces;
24 if (std::holds_alternative<transaction_id_type>(
r.trx))
25 id = std::get<transaction_id_type>(
r.trx);
27 id = std::get<chain::packed_transaction>(
r.trx).id();
30 "missing trace for transaction ${id}", (
"id",
id));
31 traces.push_back(it->second);
history_context_wrapper< std::decay_t< P >, std::decay_t< T > > make_history_context_wrapper(const chainbase::database &db, const P &context, const T &obj)
bytes pack(const chainbase::database &db, bool trace_debug_mode, const block_state_ptr &block_state)
std::optional< augmented_transaction_trace > onblock_trace
void add_transaction(const transaction_trace_ptr &trace, const chain::packed_transaction_ptr &transaction)
std::map< transaction_id_type, augmented_transaction_trace > cached_traces