Repository navigation
refactor(tx-forwarding): stop journaling TXPOOL_BUILDER_FORWARD_FAILURE (backport #6519 to v1.5.5) - #6522
Merged
Conversation
A mempool node forwards every transaction to every configured builder, and each builder that rejected it made the node journal a forward failure. The receiving builder already journals the same rejection as TXPOOL_VALIDATED_INSERT_REJECTED while it is the active sequencer, so the node-side row either duplicated the leader's verdict or recorded a standby or canary verdict that never decides inclusion. On mainnet (2026-11-08 09:00 UTC) these were 20.2M rows/hour, 17.6% of all transaction events, 88% of them from the two canary sequencers. Drop the emit and retire the event type; historical rows stay readable. Forwarding, failure reports to the reader, and the per-builder rejection metric are unchanged. TXPOOL_BUILDER_FORWARD_ATTEMPT and _DROPPED stay, since a send that never reaches a builder has no builder-side record. CHAIN-6721 (cherry picked from commit 34c165f)
|
✅ All benchmarks green — 14 within ±2% (deterministic instruction counts). View run Benchmark details (14)
|
haardikk21
approved these changes
Nov 9, 2026
Acceptance Tests: ✅ Passed3/3 checks passed · Checks & reports Acceptance report
|
haardikk21
added a commit
that referenced
this pull request
Nov 11, 2026
The entry has been stale on releases/v1.5.5 since #6522 changed the doc; its summary is still accurate. Fixes the Metadata Checks docs-index step. Co-authored-by: Toshi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backport of #6519 to
releases/v1.5.5(clean cherry-pick of 34c165f, no conflicts). Part of CHAIN-6721.Stops emitting
TXPOOL_BUILDER_FORWARD_FAILUREfrom mempool nodes and retires the event type. The receiving builder already journals the same pool rejection asTXPOOL_VALIDATED_INSERT_REJECTEDwhile it is the active sequencer, so every node-side row was a duplicate of the leader's verdict or a standby/canary verdict that never decides inclusion. On mainnet this was 20.2M rows/hour (17.6% of all transaction events), 88% from the two canary sequencers.Forwarding, retries, failure reports to the reader, the per-builder rejection metric, and the
TXPOOL_BUILDER_FORWARD_ATTEMPT/_DROPPEDevents are unchanged. The enum variant stays so historical rows parse.Testing
On this branch:
cargo +nightly fmt --check,cargo clippy -p base-tx-forwarding -p base-observability-events --all-targets -- -D warnings,cargo test -p base-tx-forwarding -p base-observability-events(52 + 8 + 4 + 28 passed). The devnet integration test asserts a rejected transaction's journal is exactlyTXPOOL_SEND_RAW_TRANSACTION,TXPOOL_PENDING,TXPOOL_VALIDATED_INSERT_REJECTED.type=routine
risk=low
impact=sev5