Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,13 @@ def collect_traces(
for i, r in enumerate(receipts):
trace_file_name = f"trace-{i}-{r.transaction_hash}.jsonl"
trace_file_path = temp_dir_path / trace_file_name
if not trace_file_path.exists():
# Transaction was rejected mid-processing (e.g. EIP-3607
# collision): the receipt exists but the tracer's
# TransactionEnd event never fired, so no trace file was
# written. Record an empty trace for this tx.
traces.append(TransactionTraces(traces=[]))
continue
if debug_output_path:
shutil.copy(
trace_file_path,
Expand Down
Loading