Skip to content

Commit

Permalink
populate transaction trace error field
Browse files Browse the repository at this point in the history
  • Loading branch information
cjeva10 committed Jul 6, 2023
1 parent 6347aac commit 7586357
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/revm/revm-inspectors/src/tracing/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,10 @@ impl CallTraceNode {
pub(crate) fn parity_transaction_trace(&self, trace_address: Vec<usize>) -> TransactionTrace {
let action = self.parity_action();
let output = self.parity_trace_output();
let error = self.trace.as_error();
TransactionTrace {
action,
error: None,
error,
result: Some(output),
trace_address,
subtraces: self.children.len(),
Expand Down

0 comments on commit 7586357

Please sign in to comment.