Skip to content

Conversation

@benesjan
Copy link
Contributor

@benesjan benesjan commented Jan 20, 2026

Closes https://linear.app/aztec-labs/issue/F-159/search-for-nullifiers-and-tags-concurrently

Roundtrips before optimization:

    ║  Configuration: ecdsar1+private_fpc                                                                                  ║
    ║  Total Round Trips: 195                                                                                              ║
    ║  Payment Method: private_fpc                                                                                         ║
    ║                                                                                                                      ║
    ║  Per Round Trip:                                                                                                     ║
    ║    RT   1: [getNodeInfo]                                                                                             ║
    ║    ...
    ║    RT  36: [getL2Tips, getBlockHeader, getL2Tips, getBlockHeader]                                                    ║
    ║    RT  37: [getPrivateLogsByTags, getPrivateLogsByTags]                                                              ║
    ║    RT  38: [findLeavesIndexes]                                                                                       ║
    ║    ...

(RT 36 and 37 correspond solely to syncTaggedLogs, RT 38 to syncNoteNullifiers)

after optimization:

    ║  Configuration: ecdsar1+private_fpc                                                                                  ║
    ║  Total Round Trips: 189                                                                                              ║
    ║  Payment Method: private_fpc                                                                                         ║
    ║                                                                                                                      ║
    ║  Per Round Trip:                                                                                                     ║
    ║    RT   1: [getNodeInfo]                                                                                             ║
    ║    ...
    ║    RT  36: [findLeavesIndexes, getL2Tips, getBlockHeader, getL2Tips, getBlockHeader]                                 ║
    ║    RT  37: [getPrivateLogsByTags, getPrivateLogsByTags]                                                              ║

We can see that RT 38 got merged with RT 36 and for the full run we saved 6 round trips 🎉🎉🎉🚀🚀🚀

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@benesjan benesjan force-pushed the 01-20-feat_searching_for_nullifiers_and_tags_concurrently branch from c37cad5 to 1085377 Compare January 20, 2026 06:44
@benesjan benesjan added this pull request to the merge queue Jan 20, 2026
@AztecBot
Copy link
Collaborator

AztecBot commented Jan 20, 2026

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/2f4f7a31f0cfcd35�2f4f7a31f0cfcd358;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_epochs/epochs_invalidate_block.parallel.test.ts "committee member invalidates a block if proposer does not come through" (93s) (code: 1) group:e2e-p2p-epoch-flakes (\033Jan Beneš\033: feat: searching for nullifiers and tags concurrently (#19735))

Merged via the queue into next with commit 4c3ff2c Jan 20, 2026
25 checks passed
@benesjan benesjan deleted the 01-20-feat_searching_for_nullifiers_and_tags_concurrently branch January 20, 2026 07:43
github-actions bot pushed a commit that referenced this pull request Jan 20, 2026
Closes
https://linear.app/aztec-labs/issue/F-159/search-for-nullifiers-and-tags-concurrently

Roundtrips before optimization:

```
    ║  Configuration: ecdsar1+private_fpc                                                                                  ║
    ║  Total Round Trips: 195                                                                                              ║
    ║  Payment Method: private_fpc                                                                                         ║
    ║                                                                                                                      ║
    ║  Per Round Trip:                                                                                                     ║
    ║    RT   1: [getNodeInfo]                                                                                             ║
    ║    ...
    ║    RT  36: [getL2Tips, getBlockHeader, getL2Tips, getBlockHeader]                                                    ║
    ║    RT  37: [getPrivateLogsByTags, getPrivateLogsByTags]                                                              ║
    ║    RT  38: [findLeavesIndexes]                                                                                       ║
    ║    ...
```

(RT 36 and 37 correspond solely to `syncTaggedLogs`, RT 38 to
`syncNoteNullifiers`)

after optimization:

```
    ║  Configuration: ecdsar1+private_fpc                                                                                  ║
    ║  Total Round Trips: 189                                                                                              ║
    ║  Payment Method: private_fpc                                                                                         ║
    ║                                                                                                                      ║
    ║  Per Round Trip:                                                                                                     ║
    ║    RT   1: [getNodeInfo]                                                                                             ║
    ║    ...
    ║    RT  36: [findLeavesIndexes, getL2Tips, getBlockHeader, getL2Tips, getBlockHeader]                                 ║
    ║    RT  37: [getPrivateLogsByTags, getPrivateLogsByTags]                                                              ║
```

We can see that RT 38 got merged with RT 36 and for the full run we
saved 6 round trips 🎉🎉🎉🚀🚀🚀
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.

4 participants