Skip to content

fix(transaction-pool): prevent protocol tx skips after aa2d invalidation#3359

Open
joohhnnn wants to merge 1 commit intotempoxyz:mainfrom
joohhnnn:fix/txpool-mark-invalid-fanout
Open

fix(transaction-pool): prevent protocol tx skips after aa2d invalidation#3359
joohhnnn wants to merge 1 commit intotempoxyz:mainfrom
joohhnnn:fix/txpool-mark-invalid-fanout

Conversation

@joohhnnn
Copy link
Copy Markdown
Contributor

@joohhnnn joohhnnn commented Mar 29, 2026

AA2D and protocol-pool transactions shared the same sender-id namespace in the merged best-transaction iterator.

A failed nonce_key > 0 AA transaction could cause the merged best-transaction iterator to skip later valid nonce_key = 0 protocol-pool transactions from the same sender in the same payload-building pass. which means When an AA2D transaction failed during payload building, mark_invalid() propagated across pools, causing valid protocol-pool transactions from the same sender to be skipped in the same pass.

Isolate AA2D sender ids from the protocol-pool namespace so that mark_invalid() cannot leak invalidation across pools.

@joohhnnn joohhnnn changed the title fix(transaction-pool): isolate aa2d sender ids fix(transaction-pool): prevent protocol tx skips after aa2d invalidation Mar 29, 2026
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