Skip to content

fix(p2p): update batch_tx_requester tests to use RequestTracker#21742

Closed
AztecBot wants to merge 1 commit into
merge-train/spartanfrom
claudebox/fix-merge-train-spartan-21741
Closed

fix(p2p): update batch_tx_requester tests to use RequestTracker#21742
AztecBot wants to merge 1 commit into
merge-train/spartanfrom
claudebox/fix-merge-train-spartan-21741

Conversation

@AztecBot

Copy link
Copy Markdown
Collaborator

Summary

PR #21496 (race condition fix) replaced MissingTxsTracker with RequestTracker and folded the deadline constructor arg into the tracker, but 3 test cases in the smart/dumb peer promotion section still used the old API.

This caused yarn tsgo -b --emitDeclarationOnly to fail with:

  • TS2304: Cannot find name 'MissingTxsTracker'
  • TS2554: Expected 4-7 arguments, but got 8

Fixed by updating the 3 remaining test instances to use RequestTracker.create(missing, new Date(Date.now() + deadline)) and removing the extra deadline argument, matching the pattern used in all other tests in the file.

ClaudeBox log: https://claudebox.work/s/57f93c63da9994b6?run=1

…ad of removed MissingTxsTracker

PR #21496 replaced MissingTxsTracker with RequestTracker and removed the
deadline constructor arg, but 3 test cases in the smart/dumb peer
promotion section still used the old API.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Mar 18, 2026
@Maddiaa0 Maddiaa0 marked this pull request as ready for review March 18, 2026 15:18
@Maddiaa0 Maddiaa0 enabled auto-merge (squash) March 18, 2026 15:18
@Maddiaa0 Maddiaa0 closed this Mar 18, 2026
auto-merge was automatically disabled March 18, 2026 15:26

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants