Skip to content

fix: (A-370) don't propagate on tx mempool add failure#20374

Merged
PhilWindle merged 1 commit into
merge-train/spartanfrom
danielntmd/void-propagation-on-tx-pool-add-failure-rebased
Feb 10, 2026
Merged

fix: (A-370) don't propagate on tx mempool add failure#20374
PhilWindle merged 1 commit into
merge-train/spartanfrom
danielntmd/void-propagation-on-tx-pool-add-failure-rebased

Conversation

@danielntmd

Copy link
Copy Markdown
Contributor
  • On gossip tx handling, first checks if it can be added to the pool before propagation
  • tests to enforce this behavior

@danielntmd danielntmd changed the title fix: don't propagate on tx add failure fix: (A-370) don't propagate on tx add failure Feb 10, 2026
@AztecBot

AztecBot commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/b581df5cfb8ff6f4�b581df5cfb8ff6f48;;�): yarn-project/end-to-end/scripts/run_test.sh ha src/composed/ha/e2e_ha_full.test.ts (132s) (code: 1)

@danielntmd danielntmd changed the title fix: (A-370) don't propagate on tx add failure fix: (A-370) don't propagate on tx mempool add failure Feb 10, 2026
// Check for debug drop for testing
const txHash = tx.getTxHash();
const txHashString = txHash.toString();
if (this.config.dropTransactions && randomInt(1000) < this.config.dropTransactionsProbability * 1000) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we should remove this for the time being. The purpose of this debug flag is to propagate the transaction but internally we discard it. But I will add this to the transaction pool itself.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sounds good, removed.

@danielntmd danielntmd force-pushed the danielntmd/void-propagation-on-tx-pool-add-failure-rebased branch 2 times, most recently from 08cb92a to 6a5a2e5 Compare February 10, 2026 20:42
- On gossip tx handling, first checks if it can be added to the pool before propagation
- tests to enforce this behavior
@danielntmd danielntmd force-pushed the danielntmd/void-propagation-on-tx-pool-add-failure-rebased branch from 6a5a2e5 to 6f71ad9 Compare February 10, 2026 20:58
@PhilWindle PhilWindle enabled auto-merge February 10, 2026 21:07
@PhilWindle PhilWindle merged commit 66eda51 into merge-train/spartan Feb 10, 2026
11 checks passed
@PhilWindle PhilWindle deleted the danielntmd/void-propagation-on-tx-pool-add-failure-rebased branch February 10, 2026 21:16
github-merge-queue Bot pushed a commit that referenced this pull request Feb 11, 2026
BEGIN_COMMIT_OVERRIDE
chore(ci3): add optional local cache for bootstrap artifacts (#20305)
fix: Fix p2p integration test (#20331)
chore: reduce fee log severity (#20336)
feat: restrict response sizes to expected sizes (#20287)
feat: retry web3signer connection (#20342)
feat(p2p): Integrate TxPoolV2 across codebase (#20172)
feat: review and optimize Claude configuration, agents, and skills
(#20270)
fix(prover): handle cross-chain messages when proving mbps (#20354)
chore: retry flakes. if retry pass, is a flake as we know it now. fail
both is hard fail (#19322)
chore(p2p): add mock reqresp layer for tests (#20370)
fix: (A-370) don't propagate on tx mempool add failure (#20374)
chore: Skip the HA test (#20376)
feat: Retain pruned transactions until pruned block is finalised
(#20237)
END_COMMIT_OVERRIDE
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.

3 participants