Skip to content

feat: merge-train/barretenberg#18041

Merged
AztecBot merged 20 commits intonextfrom
merge-train/barretenberg
Oct 30, 2025
Merged

feat: merge-train/barretenberg#18041
AztecBot merged 20 commits intonextfrom
merge-train/barretenberg

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Oct 29, 2025

BEGIN_COMMIT_OVERRIDE
chore: ram ram audit 1 (#17683)
feat: Implement PairingPoints tagging mechanism (#17988)
chore(bb): remove some is_curve checks (#18037)
fix: add proper error handling for invalid short hash in VK test script (#18055)
fix: format.sh
chore: remove gate estimation (#17879)
END_COMMIT_OVERRIDE

### 🧾 Audit Context

Audit of ROM/RAM witness generation and constraints in `stdlib_circuit`.

### 🛠️ Changes Made

Revamped testing.

### ✅ Checklist

- ✅ Audited all methods of the relevant module/class
- ✅ Audited the interface of the module/class with other (relevant)
components
- ✅ Documented existing functionality and any changes made (as per
Doxygen requirements)
- [ ] Resolved and/or closed all issues/TODOs pertaining to the audited
files
- [ ] Confirmed and documented any security or other issues found (if
applicable)
- [ ] Verified that tests cover all critical paths (and added tests if
necessary)
- [ ] Updated audit tracking for the files audited (check the start of
each file you audited)

### 📌 Notes for Reviewers
No changes to the functionality either of witness generation or
constraints. Added better testing for ROM/RAM and more thorough
documentation for things that confused me.

We should decide how we want to handle uninitialized entries. I would
prefer to throw an error if any entry was uninitialized at the time of
processing.

---------

Co-authored-by: notnotraju <raju@aztec-labs.com>
This PR implements a simple tagging mechanism for PairingPoints. We
leverage this mechanism to be sure that when a ProverInstance is built
from a builder all the PairingPoints that have been constructed in the
builder have been aggregated into one (we always return a single pairing
point) and the aggregated point has been set to public.

Closes AztecProtocol/barretenberg#1571
ludamad and others added 6 commits October 29, 2025 11:59
Co-authored-by: Aztec Bot <49558828+AztecBot@users.noreply.github.com>
…pt (#18055)

## Summary
- Fixes silent failure when the pinned short hash is invalid in the VK
test script
- Adds explicit error checking for curl download and tar extraction
- Provides clear error messages to help diagnose issues

## Problem
The script was failing silently when the pinned short hash was invalid
because:
1. The `curl | tar` pipeline with `&>/dev/null` suppressed all error
messages
2. No error checking was performed on the curl command
3. Pipeline exit status only reflected tar, not curl failures

This made it very difficult to diagnose why the script was failing when
the S3 artifact didn't exist.

## Solution
- Split curl and tar into separate operations with individual error
checking
- Added descriptive error messages that indicate the likely cause
(invalid hash)
- Removed silent output redirection to allow visibility into failures
- Added progress messages during download and extraction

Co-authored-by: Claude <noreply@anthropic.com>
@AztecBot
Copy link
Collaborator Author

AztecBot commented Oct 29, 2025

Flakey Tests

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

\033[38;2;188;109;208mFLAKED\033[0m (\033[38;2;250;217;121m8;;http://ci.aztec-labs.com/1f92d6cc2af46a56�1f92d6cc2af46a568;;�\033[0m): yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_p2p/broadcasted_invalid_block_proposal_slash.test.ts (211s) (code: 1) group:e2e-p2p-epoch-flakes (\033[38;2;188;109;208mAztec Bot\033[0m: feat: merge-train/barretenberg (#18041))

@ludamad ludamad force-pushed the merge-train/barretenberg branch from 307905b to 1518bd5 Compare October 29, 2025 20:56
AztecBot and others added 9 commits October 29, 2025 20:57
Replace complex and inaccurate "gate estimation" methods with
potentially inefficient but simple and accurate method that makes a copy
of the circuit then finalizes it to get the true gate count. Such
methods should only be used in tests/debugging anyway so the extra
copying is not an issue.
Copy link
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

🤖 Auto-approved

@AztecBot AztecBot added this pull request to the merge queue Oct 30, 2025
@AztecBot
Copy link
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 30, 2025
@AztecBot AztecBot added this pull request to the merge queue Oct 30, 2025
@AztecBot
Copy link
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

Merged via the queue into next with commit 2282bc4 Oct 30, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants