Skip to content

Commit

Permalink
add missing 'OnSystemTxStart/End' to firehose tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Feb 12, 2025
1 parent 113e2d3 commit 4c13a14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eth/tracers/firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ func NewTracingHooksFromFirehose(tracer *Firehose) *tracing.Hooks {
// but Firehose needs them so we add handling for them in our patch.
OnSystemCallStart: tracer.OnSystemCallStart,
OnSystemCallEnd: tracer.OnSystemCallEnd,
OnSystemTxStart: tracer.OnSystemTxStart,
OnSystemTxEnd: tracer.OnSystemTxEnd,

// This should actually be conditional but it's not possible to do it in the hooks
// directly because the chain ID will be known only after the `OnBlockchainInit` call.
Expand Down

0 comments on commit 4c13a14

Please sign in to comment.