Skip to content

traces support#28

Merged
dwerner merged 4 commits intomainfrom
traces-support
Dec 9, 2025
Merged

traces support#28
dwerner merged 4 commits intomainfrom
traces-support

Conversation

@dwerner
Copy link
Collaborator

@dwerner dwerner commented Nov 19, 2025

Adds an enable_traces flag to the BlockRangeRequest proto and ReceiptData that allows clients to request transaction traces using Erigon's callTracer during block execution. This enables trace collection alongside receipts/logs with minimal API changes.

The flag is threaded through:

  • Proto definitions (enable_traces request flag, trace_data response field)
  • BlockDataClient (execute_blocks method signature)
  • SegmentConfig and SegmentWorker (execution configuration)
  • BlockchainDescriptor (with_traces() builder method)
  • Both streaming and sync workers (enabled by default for testing)

Traces are returned as JSON-encoded callTracer output in ReceiptData.trace_data.

Adds an enable_traces flag to the BlockRangeRequest proto and ReceiptData
that allows clients to request transaction traces using Erigon's callTracer
during block execution. This enables trace collection alongside receipts/logs
with minimal API changes.

The flag is threaded through:
- Proto definitions (enable_traces request flag, trace_data response field)
- BlockDataClient (execute_blocks method signature)
- SegmentConfig and SegmentWorker (execution configuration)
- BlockchainDescriptor (with_traces() builder method)
- Both streaming and sync workers (enabled by default for testing)

Traces are returned as JSON-encoded callTracer output in ReceiptData.trace_data.
@dwerner dwerner merged commit 088c49c into main Dec 9, 2025
5 checks passed
@dwerner dwerner deleted the traces-support branch December 9, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant