Skip to content

Commit 103eb8c

Browse files
authored
Merge branch 'next' into bump-noir
2 parents 7b995f7 + 6e0ff95 commit 103eb8c

File tree

1,174 files changed

+22965
-9529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,174 files changed

+22965
-9529
lines changed

.github/workflows/ci3.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,9 @@ jobs:
123123
ci-network-scenario:
124124
runs-on: ubuntu-latest
125125
# We either run after a release (tag starting with v), or when the ci-network-scenario label is present in a PR.
126+
# We exclude ci-release-pr test tags (v0.0.1-commit.*) which are only for testing the release process.
126127
needs: ci
127-
if: github.event.pull_request.head.repo.fork != true && github.event.pull_request.draft == false && (startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'ci-network-scenario'))
128+
if: github.event.pull_request.head.repo.fork != true && github.event.pull_request.draft == false && ((startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-commit.')) || contains(github.event.pull_request.labels.*.name, 'ci-network-scenario'))
128129
steps:
129130
- name: Checkout
130131
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
@@ -144,13 +145,13 @@ jobs:
144145
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
145146
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
146147
RUN_ID: ${{ github.run_id }}
147-
AWS_SHUTDOWN_TIME: 360
148+
AWS_SHUTDOWN_TIME: 180
148149
NO_SPOT: 1
149150
run: |
150151
# For release tags, use the release image; for PRs, omit to build and push to aztecdev
151152
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
152153
tag="${{ github.ref_name }}"
153-
tag="${tag#refs/tags/v}"
154+
tag="${tag#v}"
154155
major_version=$(./ci3/semver major "$tag")
155156
namespace="v${major_version}-scenario"
156157
docker_image="aztecprotocol/aztec:${tag}"

.github/workflows/ensure-funded-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
5757
with:
5858
ref: ${{ github.ref }}
59-
fetch-depth: 0
59+
fetch-depth: 1
6060
persist-credentials: false
6161

6262
- name: Validate inputs

.github/workflows/nightly-spartan-bench.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
fi
4747
4848
- name: Run benchmarks
49+
timeout-minutes: 120
4950
env:
5051
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
5152
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -55,7 +56,7 @@ jobs:
5556
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
5657
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
5758
RUN_ID: ${{ github.run_id }}
58-
AWS_SHUTDOWN_TIME: 360
59+
AWS_SHUTDOWN_TIME: 120
5960
NO_SPOT: 1
6061
run: |
6162
# Pass the arguments expected in ./bootstrap.sh ci-network-bench

.github/workflows/publish-bb-mac.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,23 @@ jobs:
153153
with:
154154
name: barretenberg-arm64-darwin-starknet.tar.gz
155155

156+
- name: Determine if prerelease
157+
id: check-prerelease
158+
run: |
159+
VERSION="${{ inputs.ref_name || inputs.tag || github.ref_name }}"
160+
# Check if version has a prerelease tag (e.g., -rc.1, -alpha, -beta)
161+
if [[ "$VERSION" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+-.+ ]]; then
162+
echo "is_prerelease=true" >> $GITHUB_OUTPUT
163+
else
164+
echo "is_prerelease=false" >> $GITHUB_OUTPUT
165+
fi
166+
156167
- name: Publish to GitHub
157168
uses: softprops/action-gh-release@26994186c0ac3ef5cae75ac16aa32e8153525f77
158169
if: ${{ github.event_name != 'workflow_dispatch' || inputs.publish }}
159170
with:
160171
tag_name: ${{ inputs.ref_name || inputs.tag || github.ref_name }}
161-
prerelease: true
172+
prerelease: ${{ steps.check-prerelease.outputs.is_prerelease == 'true' }}
162173
files: |
163174
barretenberg-amd64-darwin.tar.gz
164175
barretenberg-arm64-darwin.tar.gz
@@ -169,7 +180,7 @@ jobs:
169180
continue-on-error: true
170181
with:
171182
tag_name: ${{ inputs.ref_name || inputs.tag || github.ref_name }}
172-
prerelease: true
183+
prerelease: ${{ steps.check-prerelease.outputs.is_prerelease == 'true' }}
173184
files: |
174185
barretenberg-amd64-darwin-starknet.tar.gz
175186
barretenberg-arm64-darwin-starknet.tar.gz

.github/workflows/test-network-scenarios.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
BUILD_INSTANCE_SSH_KEY: ${{ secrets.BUILD_INSTANCE_SSH_KEY }}
3939
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
4040
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
41-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
4241
RUN_ID: ${{ github.run_id }}
4342
AWS_SHUTDOWN_TIME: 360
4443
NO_SPOT: 1

.github/workflows/update-red-team-image.yml

Lines changed: 0 additions & 177 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ docs/docs/protocol-specs/public-vm/gen/
3232

3333
# for those who use Claude Code
3434
/.claude
35+
36+
__pycache__

barretenberg/cpp/bootstrap.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ function test_cmds_native {
282282
while read -r test; do
283283
local prefix=$hash
284284
# A little extra resource for these tests.
285-
# IPARecursiveTests and AcirHonkRecursionConstraint fail with 2 threads.
286-
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|AcirHonkRecursionConstraint) ]]; then
285+
# IPARecursiveTests fails with 2 threads.
286+
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest) ]]; then
287287
prefix="$prefix:CPUS=4:MEM=8g"
288288
fi
289289
echo -e "$prefix barretenberg/cpp/scripts/run_test.sh $bin_name $test"
@@ -306,7 +306,7 @@ function test_cmds_asan {
306306
["commitment_schemes_recursion_tests"]="IPARecursiveTests.AccumulationAndFullRecursiveVerifier"
307307
["chonk_tests"]="ChonkTests.Basic"
308308
["ultra_honk_tests"]="MegaHonkTests/0.Basic"
309-
["dsl_tests"]="AcirHonkRecursionConstraint/1.TestBasicDoubleHonkRecursionConstraints"
309+
["dsl_tests"]="HonkRecursionConstraintTestWithoutPredicate/2.Tampering"
310310
)
311311
for bin_name in "${!asan_tests[@]}"; do
312312
local filter=${asan_tests[$bin_name]}

0 commit comments

Comments
 (0)