Skip to content

Commit 625a2c8

Browse files
author
AztecBot
committed
chore: apply sync fixes
1 parent c254c3c commit 625a2c8

File tree

566 files changed

+10189
-10900
lines changed

Some content is hidden

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

566 files changed

+10189
-10900
lines changed

.aztec-sync-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f7a65ee697aa7e1a2bbdfcafe9d846aadd9aa2c2
1+
f733879bd5e59a222cc288de6c298eaa8553312c
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Download noir-execute
2+
description: Downloads the noir-execute binary from an artifact and adds it to the path
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Download noir-execute binary
8+
uses: actions/download-artifact@v4
9+
with:
10+
name: noir-execute
11+
path: ./noir-execute
12+
13+
- name: Set noir-execute on PATH
14+
shell: bash
15+
run: |
16+
noir_binary="${{ github.workspace }}/noir-execute/noir-execute"
17+
chmod +x $noir_binary
18+
echo "$(dirname $noir_binary)" >> $GITHUB_PATH

.github/benchmark_projects.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
define: &AZ_COMMIT 481d3beaba9fcc85743919bc640a849dad7b7b88
1+
define: &AZ_COMMIT 3b981f9217f9b859bdfbcdba2f5c080392c98da6
22
projects:
33
private-kernel-inner:
44
repo: AztecProtocol/aztec-packages
@@ -7,7 +7,7 @@ projects:
77
num_runs: 5
88
compilation-timeout: 2.5
99
execution-timeout: 0.08
10-
compilation-memory-limit: 300
10+
compilation-memory-limit: 350
1111
execution-memory-limit: 250
1212
private-kernel-tail:
1313
repo: AztecProtocol/aztec-packages
@@ -16,9 +16,9 @@ projects:
1616
num_runs: 5
1717
timeout: 4
1818
compilation-timeout: 1.2
19-
execution-timeout: 0.02
19+
execution-timeout: 0.04
2020
compilation-memory-limit: 250
21-
execution-memory-limit: 200
21+
execution-memory-limit: 230
2222
private-kernel-reset:
2323
repo: AztecProtocol/aztec-packages
2424
ref: *AZ_COMMIT
@@ -35,19 +35,19 @@ projects:
3535
path: noir-projects/noir-protocol-circuits/crates/rollup-base-private
3636
num_runs: 5
3737
timeout: 15
38-
compilation-timeout: 10
39-
execution-timeout: 0.5
40-
compilation-memory-limit: 1100
41-
execution-memory-limit: 500
38+
compilation-timeout: 20
39+
execution-timeout: 1
40+
compilation-memory-limit: 1500
41+
execution-memory-limit: 650
4242
rollup-base-public:
4343
repo: AztecProtocol/aztec-packages
4444
ref: *AZ_COMMIT
4545
path: noir-projects/noir-protocol-circuits/crates/rollup-base-public
4646
num_runs: 5
4747
timeout: 15
48-
compilation-timeout: 8
49-
execution-timeout: 0.4
50-
compilation-memory-limit: 1000
48+
compilation-timeout: 15
49+
execution-timeout: 0.75
50+
compilation-memory-limit: 1500
5151
execution-memory-limit: 500
5252
rollup-block-root-empty:
5353
repo: AztecProtocol/aztec-packages
@@ -65,17 +65,17 @@ projects:
6565
cannot_execute: true
6666
num_runs: 1
6767
timeout: 60
68-
compilation-timeout: 100
69-
compilation-memory-limit: 7000
68+
compilation-timeout: 135
69+
compilation-memory-limit: 8000
7070
rollup-block-root:
7171
repo: AztecProtocol/aztec-packages
7272
ref: *AZ_COMMIT
7373
path: noir-projects/noir-protocol-circuits/crates/rollup-block-root
7474
num_runs: 1
7575
timeout: 60
76-
compilation-timeout: 110
76+
compilation-timeout: 135
7777
execution-timeout: 40
78-
compilation-memory-limit: 7000
78+
compilation-memory-limit: 8000
7979
execution-memory-limit: 1500
8080
rollup-merge:
8181
repo: AztecProtocol/aztec-packages

.github/critical_libraries_status/noir-lang/keccak256/.failures.jsonl

Whitespace-only changes.

.github/critical_libraries_status/noir-lang/sha512/.failures.jsonl

Whitespace-only changes.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
set -eu
33

4-
apt-get install libc++-dev -y
4+
apt-get install libc6 libstdc++6 -y
55
yarn workspace integration-tests test:node

.github/scripts/wasm-bindgen-install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ cd $(dirname "$0")
66
./cargo-binstall-install.sh
77

88
# Install wasm-bindgen-cli.
9-
if [ "$(wasm-bindgen --version &> /dev/null | cut -d' ' -f2)" != "0.2.86" ]; then
9+
if [ "$(wasm-bindgen --version &> /dev/null | cut -d' ' -f2)" != "0.2.100" ]; then
1010
echo "Building wasm-bindgen..."
11-
cargo binstall wasm-bindgen-cli@0.2.86 --force --no-confirm
11+
cargo binstall wasm-bindgen-cli@0.2.100 --force --no-confirm
1212
fi
1313

.github/workflows/deny.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
runs-on: ubuntu-22.04
2222
steps:
2323
- uses: actions/checkout@v4
24-
- uses: EmbarkStudios/cargo-deny-action@v1
24+
- uses: EmbarkStudios/cargo-deny-action@8d73959fce1cdc8989f23fdf03bec6ae6a6576ef
2525
with:
26-
command: check all
26+
command: check all

.github/workflows/docs-pr.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
// Check if any file is within the 'docs' folder
3434
const docsChanged = files.some(file => file.filename.startsWith('docs/'));
3535
return docsChanged;
36-
36+
3737
- name: Add label if not present
3838
if: steps.check-labels.outputs.result == 'true'
3939
uses: actions/github-script@v7.0.1
@@ -57,7 +57,7 @@ jobs:
5757
uses: actions/checkout@v4
5858

5959
- name: Setup toolchain
60-
uses: dtolnay/rust-toolchain@1.75.0
60+
uses: dtolnay/rust-toolchain@1.85.0
6161

6262
- uses: Swatinem/rust-cache@v2
6363
with:
@@ -71,7 +71,7 @@ jobs:
7171
- name: Install wasm-bindgen-cli
7272
uses: taiki-e/install-action@v2
7373
with:
74-
tool: wasm-bindgen-cli@0.2.86
74+
tool: wasm-bindgen-cli@0.2.100
7575

7676
- name: Install wasm-opt
7777
run: |
@@ -102,13 +102,13 @@ jobs:
102102
steps:
103103
- name: Checkout code
104104
uses: actions/checkout@v4
105-
105+
106106
- name: Download built docs
107107
uses: actions/download-artifact@v4
108108
with:
109109
name: docs
110110
path: ./docs/build
111-
111+
112112
- name: Deploy to Netlify
113113
uses: nwtgck/actions-netlify@v2.1
114114
with:

.github/workflows/formatting.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: Setup toolchain
28-
uses: dtolnay/rust-toolchain@1.75.0
28+
uses: dtolnay/rust-toolchain@1.85.0
2929
with:
3030
targets: x86_64-unknown-linux-gnu
3131
components: clippy, rustfmt
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/checkout@v4
5252

5353
- name: Setup toolchain
54-
uses: dtolnay/rust-toolchain@1.75.0
54+
uses: dtolnay/rust-toolchain@1.85.0
5555
with:
5656
targets: x86_64-unknown-linux-gnu
5757
components: clippy, rustfmt
@@ -89,7 +89,7 @@ jobs:
8989
uses: actions/checkout@v4
9090

9191
- name: Setup toolchain
92-
uses: dtolnay/rust-toolchain@1.75.0
92+
uses: dtolnay/rust-toolchain@1.85.0
9393

9494
- uses: Swatinem/rust-cache@v2
9595
with:
@@ -121,7 +121,7 @@ jobs:
121121
steps:
122122
- name: Checkout
123123
uses: actions/checkout@v4
124-
124+
125125
- name: Download nargo binary
126126
uses: ./.github/actions/download-nargo
127127

.github/workflows/publish-acvm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
ref: ${{ inputs.noir-ref }}
1919

2020
- name: Setup toolchain
21-
uses: dtolnay/rust-toolchain@1.75.0
21+
uses: dtolnay/rust-toolchain@1.85.0
2222

2323
# These steps are in a specific order so crate dependencies are updated first
2424
- name: Publish acir_field

.github/workflows/publish-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
- name: Install wasm-bindgen-cli
2323
uses: taiki-e/install-action@v2
2424
with:
25-
tool: wasm-bindgen-cli@0.2.86
25+
tool: wasm-bindgen-cli@0.2.100
2626

2727
- name: Install wasm-opt
2828
run: |
2929
npm i wasm-opt -g
30-
30+
3131
- name: Query active docs versions
3232
run: yarn workspace docs version::stables
3333

.github/workflows/publish-es-packages.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
ref: ${{ inputs.noir-ref }}
25-
25+
2626
- name: Setup toolchain
27-
uses: dtolnay/rust-toolchain@1.75.0
27+
uses: dtolnay/rust-toolchain@1.85.0
2828

2929
- uses: Swatinem/rust-cache@v2
3030
with:
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/upload-artifact@v4
4545
with:
4646
name: noirc_abi_wasm
47-
path: |
47+
path: |
4848
./tooling/noirc_abi_wasm/nodejs
4949
./tooling/noirc_abi_wasm/web
5050
retention-days: 10
@@ -58,7 +58,7 @@ jobs:
5858
ref: ${{ inputs.noir-ref }}
5959

6060
- name: Setup toolchain
61-
uses: dtolnay/rust-toolchain@1.75.0
61+
uses: dtolnay/rust-toolchain@1.85.0
6262

6363
- uses: Swatinem/rust-cache@v2
6464
with:
@@ -95,7 +95,7 @@ jobs:
9595
ref: ${{ inputs.noir-ref }}
9696

9797
- name: Setup toolchain
98-
uses: dtolnay/rust-toolchain@1.75.0
98+
uses: dtolnay/rust-toolchain@1.85.0
9999

100100
- uses: Swatinem/rust-cache@v2
101101
with:
@@ -119,7 +119,7 @@ jobs:
119119
./acvm-repo/acvm_js/nodejs
120120
./acvm-repo/acvm_js/web
121121
retention-days: 3
122-
122+
123123
publish-es-packages:
124124
runs-on: ubuntu-22.04
125125
needs: [build-acvm_js, build-noirc_abi_wasm, build-noir_wasm]
@@ -133,12 +133,12 @@ jobs:
133133
with:
134134
name: acvm-js
135135
path: acvm-repo/acvm_js
136-
136+
137137
- uses: actions/download-artifact@v4
138138
with:
139139
name: noir_wasm
140140
path: compiler/wasm
141-
141+
142142
- uses: actions/download-artifact@v4
143143
with:
144144
name: noirc_abi_wasm

.github/workflows/publish-nargo.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,8 @@ jobs:
3838
with:
3939
ref: ${{ inputs.tag || env.GITHUB_REF }}
4040

41-
- name: Setup for Apple Silicon
42-
if: matrix.target == 'aarch64-apple-darwin'
43-
run: |
44-
sudo xcode-select -s /Applications/Xcode_15.4.0.app/Contents/Developer/
45-
echo "SDKROOT=$(xcrun -sdk macosx$(sw_vers -productVersion) --show-sdk-path)" >> $GITHUB_ENV
46-
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx$(sw_vers -productVersion) --show-sdk-platform-version)" >> $GITHUB_ENV
47-
4841
- name: Setup toolchain
49-
uses: dtolnay/rust-toolchain@1.75.0
42+
uses: dtolnay/rust-toolchain@1.85.0
5043
with:
5144
targets: ${{ matrix.target }}
5245

@@ -61,7 +54,7 @@ jobs:
6154
cargo build --package nargo_cli --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
6255
cargo build --package noir_profiler --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
6356
cargo build --package noir_inspector --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
64-
57+
6558
- name: Package artifacts
6659
run: |
6760
mkdir dist
@@ -151,7 +144,7 @@ jobs:
151144
ref: ${{ inputs.tag || env.GITHUB_REF }}
152145

153146
- name: Setup toolchain
154-
uses: dtolnay/rust-toolchain@1.75.0
147+
uses: dtolnay/rust-toolchain@1.85.0
155148
with:
156149
targets: ${{ matrix.target }}
157150

@@ -245,4 +238,4 @@ jobs:
245238
overwrite: true
246239
tag: ${{ format('{0}-{1}', 'nightly', steps.date.outputs.date) }}
247240

248-
241+

.github/workflows/release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
node-version: 18.19.0
4848
cache: 'yarn'
4949
cache-dependency-path: 'yarn.lock'
50-
50+
5151
- name: Update yarn.lock
5252
run: yarn
53-
53+
5454
- name: Configure git
5555
run: |
5656
git config user.name noirwhal
@@ -61,13 +61,13 @@ jobs:
6161
git add .
6262
git commit -m 'chore: Update root workspace acvm versions and lockfile'
6363
git push
64-
64+
6565
update-docs:
6666
name: Update docs
6767
needs: [release-please, update-acvm-workspace-package-versions]
6868
if: ${{ needs.release-please.outputs.release-pr }}
6969
runs-on: ubuntu-22.04
70-
70+
7171
steps:
7272
- name: Checkout release branch
7373
uses: actions/checkout@v4
@@ -81,7 +81,7 @@ jobs:
8181
- name: Install wasm-bindgen-cli
8282
uses: taiki-e/install-action@v2
8383
with:
84-
tool: wasm-bindgen-cli@0.2.86
84+
tool: wasm-bindgen-cli@0.2.100
8585

8686
- name: Install wasm-opt
8787
run: |
@@ -113,7 +113,7 @@ jobs:
113113
runs-on: ubuntu-22.04
114114
# We want this job to always run (even if the dependant jobs fail) as we need apply changes to the sticky comment.
115115
if: ${{ always() }}
116-
116+
117117
needs:
118118
- release-please
119119
- update-acvm-workspace-package-versions
@@ -123,7 +123,7 @@ jobs:
123123
# We treat any skipped or failing jobs as a failure for the workflow as a whole.
124124
FAIL: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}
125125

126-
steps:
126+
steps:
127127
- name: Add warning to sticky comment
128128
uses: marocchino/sticky-pull-request-comment@v2
129129
with:
@@ -175,7 +175,7 @@ jobs:
175175
needs: [release-please]
176176
if: ${{ needs.release-please.outputs.tag-name }}
177177
runs-on: ubuntu-22.04
178-
178+
179179
steps:
180180
- name: Dispatch to publish-acvm
181181
uses: benc-uk/workflow-dispatch@v1

0 commit comments

Comments
 (0)