Skip to content

Add TracingID#90

Merged
dimriou merged 2 commits intomainfrom
oev-1060_add_tx_tracing
Mar 17, 2026
Merged

Add TracingID#90
dimriou merged 2 commits intomainfrom
oev-1060_add_tx_tracing

Conversation

@dimriou
Copy link
Contributor

@dimriou dimriou commented Mar 17, 2026

Description

This PR:

  • Adds TracingID for easier log tracing of a transaction's lifecycle
  • Updates transmission logs for TXMv1 so it's easier to get the result of the transmission and triage.

OEV-1060

continue
errType, err := ec.client.SendTransactionReturnCode(ctx, *etx, attempt, ec.lggr)
if errType == multinode.Successful || errType == multinode.TransactionAlreadyKnown {
ec.lggr.Infow("ForceRebroadcast: Broadcasted transaction", "txAttemptID", attempt.ID, "txHash", attempt.Hash, "tracingID", etx.GetTracingID(ec.lggr), "meta", etx.Meta, "feeLimit",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: logs are identical

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was actually on purpose, so they can only be distinguished by their log level. Would you prefer it if they kept the same substring but add an error message like:

Suggested change
ec.lggr.Infow("ForceRebroadcast: Broadcasted transaction", "txAttemptID", attempt.ID, "txHash", attempt.Hash, "tracingID", etx.GetTracingID(ec.lggr), "meta", etx.Meta, "feeLimit",
ec.lggr.Infow("ForceRebroadcast failed: Broadcasted transaction", "txAttemptID", attempt.ID, "txHash", attempt.Hash, "tracingID", etx.GetTracingID(ec.lggr), "meta", etx.Meta, "feeLimit",

@dimriou dimriou marked this pull request as ready for review March 17, 2026 13:57
@dimriou dimriou requested a review from a team as a code owner March 17, 2026 13:57
@dimriou dimriou enabled auto-merge (squash) March 17, 2026 13:57
@dimriou dimriou merged commit 710d5a7 into main Mar 17, 2026
27 of 29 checks passed
@dimriou dimriou deleted the oev-1060_add_tx_tracing branch March 17, 2026 14:20
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.

4 participants