Skip to content

chore: Package inputs to Merge verifier into a single struct#16075

Merged
federicobarbacovi merged 7 commits into
merge-train/barretenbergfrom
fb/merge_verifier_api_3
Jul 30, 2025
Merged

chore: Package inputs to Merge verifier into a single struct#16075
federicobarbacovi merged 7 commits into
merge-train/barretenbergfrom
fb/merge_verifier_api_3

Conversation

@federicobarbacovi

Copy link
Copy Markdown
Contributor

We package the inputs to the Merge verifier (two at the moment: t_commitments and T_prev_commitments) into a single struct to reduce the number of function arguments and prevent incorrect ordering of the arguments.

This PR closes AztecProtocol/barretenberg#1492.

@federicobarbacovi federicobarbacovi marked this pull request as ready for review July 29, 2025 12:00
@fcarreiro fcarreiro removed their request for review July 29, 2025 14:03
@federicobarbacovi federicobarbacovi self-assigned this Jul 29, 2025

@maramihali maramihali left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good, left a suggestion of how to construct MergeCommitments objects cleaner

Comment thread barretenberg/cpp/src/barretenberg/goblin/goblin.hpp Outdated
@federicobarbacovi federicobarbacovi merged commit 2c3edfb into merge-train/barretenberg Jul 30, 2025
4 checks passed
@federicobarbacovi federicobarbacovi deleted the fb/merge_verifier_api_3 branch July 30, 2025 14:42
github-merge-queue Bot pushed a commit that referenced this pull request Jul 30, 2025
See
[merge-train-readme.md](https://github.com/AztecProtocol/aztec-packages/blob/next/.github/workflows/merge-train-readme.md).

BEGIN_COMMIT_OVERRIDE
chore: remove `logic` operations from `uint` (#15975)
chore: Modify the `MergeVerifier` so that it gets the subtable
commitments as input and returns the commitment to the merged table
(#15949)
fix: delete tar generated by test-vk-havent-changed script (#15988)
chore: replace q_arith with q_3 in memory relation (#15953)
chore: simplify `uint` logic by removing `witness_status` (#15976)
Revert "chore: remove `logic` operations from `uint`" (#15997)
Revert "chore: simplify `uint` logic by removing `witness_status`"
(#16000)
feat: Add the last merged table to the public inputs of the hiding
circuit (#15829)
chore: combined `uint` audit (#16030)
chore: delete and ignore barretenberg/src/honk/keys/ (#16042)
fix: Fix tube proof construction (#16052)
feat: Link successive recursive Merge verifications (#16032)
chore: Package inputs to Merge verifier into a single struct (#16075)
END_COMMIT_OVERRIDE

---------

Co-authored-by: AztecBot <tech@aztecprotocol.com>
Co-authored-by: Suyash Bagad <suyash@aztecprotocol.com>
Co-authored-by: federicobarbacovi <171914500+federicobarbacovi@users.noreply.github.com>
Co-authored-by: Jonathan Hao <jonathan@aztec-labs.com>
Co-authored-by: ledwards2225 <98505400+ledwards2225@users.noreply.github.com>
Co-authored-by: sergei iakovenko <105737703+iakovenkos@users.noreply.github.com>
Co-authored-by: ludamad <adam.domurad@gmail.com>
Co-authored-by: Raju Krishnamoorthy <krishnamoorthy@gmail.com>
Co-authored-by: notnotraju <raju@aztec-labs.com>
Co-authored-by: Lucas Xia <lucasxia01@gmail.com>
Co-authored-by: Khashayar Barooti <khashayar@aztecprotocol.com>
Co-authored-by: Jean M <132435771+jeanmon@users.noreply.github.com>
Co-authored-by: Alex Gherghisan <alexghr@users.noreply.github.com>
Co-authored-by: Santiago Palladino <spalladino@users.noreply.github.com>
Co-authored-by: Santiago Palladino <santiago@aztec-labs.com>
Co-authored-by: ludamad <domuradical@gmail.com>
Co-authored-by: maramihali <mara@aztecprotocol.com>
Co-authored-by: Sarkoxed <75146596+Sarkoxed@users.noreply.github.com>
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.

2 participants