Skip to content

feat(builder): carry best transaction source through invalidation#3839

Closed
shekhirin wants to merge 1 commit intomainfrom
alexey/fix-buffered-markinvalid-handling
Closed

feat(builder): carry best transaction source through invalidation#3839
shekhirin wants to merge 1 commit intomainfrom
alexey/fix-buffered-markinvalid-handling

Conversation

@shekhirin
Copy link
Copy Markdown
Member

@shekhirin shekhirin commented May 6, 2026

  • Adds a sourced best-transactions path so payload building can invalidate buffered transactions against the pool that produced them.
  • Replaces the builder’s best_txs.next() / mark_invalid() usage with source-aware calls, which fixes the last_source mismatch when transactions are prefetched before invalidation.
  • Extends tempo-transaction-pool with a SourcedBestTransactions trait, a BestTransactionSource enum, and source-aware forwarding on the merged and state-aware iterators.

@shekhirin shekhirin added C-enhancement New feature or request A-block-building Related to block building labels May 6, 2026
@shekhirin shekhirin changed the title fix: carry best transaction source through buffered invalidation feat(builder): carry best transaction source through invalidation May 6, 2026
@shekhirin shekhirin closed this May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-block-building Related to block building C-enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant