Skip to content

Commit

Permalink
[1 changes] chore!: bump msrv to 1.85.0 (noir-lang/noir#7530)
Browse files Browse the repository at this point in the history
fix: No longer error on INT_MIN globals (noir-lang/noir#7519)
fix: correctly format trait function with multiple where clauses (noir-lang/noir#7531)
chore(ssa): Do not run passes on Brillig functions post Brillig gen (noir-lang/noir#7527)
  • Loading branch information
AztecBot committed Feb 26, 2025
1 parent f7a65ee commit 30569a3
Show file tree
Hide file tree
Showing 497 changed files with 23,112 additions and 5,111 deletions.
2 changes: 1 addition & 1 deletion .noir-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fdfe2bf752771b9611dc71953d50423b4ae7ec44
42b4ba3fa2f1dfdb92f197bfbe25884078256ae2
12 changes: 6 additions & 6 deletions noir/noir-repo/.github/benchmark_projects.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define: &AZ_COMMIT 1350f93c3e9af8f601ca67ca3e67d0127c9767b6
define: &AZ_COMMIT 17e79f42c0a1895dc87a74e4155591e38c45f09b
projects:
private-kernel-inner:
repo: AztecProtocol/aztec-packages
Expand All @@ -7,7 +7,7 @@ projects:
num_runs: 5
compilation-timeout: 2.5
execution-timeout: 0.08
compilation-memory-limit: 300
compilation-memory-limit: 350
execution-memory-limit: 250
private-kernel-tail:
repo: AztecProtocol/aztec-packages
Expand All @@ -18,7 +18,7 @@ projects:
compilation-timeout: 1.2
execution-timeout: 0.02
compilation-memory-limit: 250
execution-memory-limit: 200
execution-memory-limit: 230
private-kernel-reset:
repo: AztecProtocol/aztec-packages
ref: *AZ_COMMIT
Expand Down Expand Up @@ -65,8 +65,8 @@ projects:
cannot_execute: true
num_runs: 1
timeout: 60
compilation-timeout: 100
compilation-memory-limit: 7000
compilation-timeout: 110
compilation-memory-limit: 8000
rollup-block-root:
repo: AztecProtocol/aztec-packages
ref: *AZ_COMMIT
Expand All @@ -75,7 +75,7 @@ projects:
timeout: 60
compilation-timeout: 110
execution-timeout: 40
compilation-memory-limit: 7000
compilation-memory-limit: 8000
execution-memory-limit: 1500
rollup-merge:
repo: AztecProtocol/aztec-packages
Expand Down
50 changes: 50 additions & 0 deletions noir/noir-repo/.github/workflows/bump-aztec-packages-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bump external repos pinned commits

on:
workflow_dispatch:
schedule:
# Trigger at 8am on Mondays
- cron: '0 8 * * 1'


jobs:
bump-commit:
name: Update external repo pinned commits
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: master

- name: Check for existing PR
id: pr-check
run: |
set -xue # print commands
PR_URL=$(gh pr list --repo noir-lang/noir --head bump-aztec-packages --json url --jq ".[0].url")
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ github.token }}

- name: Configure git
run: |
git config user.name noirwhal
git config user.email tomfrench@aztecprotocol.com
- name: Update commit
run: |
git checkout bump-aztec-packages || git checkout -b bump-aztec-packages
./scripts/bump-aztec-packages-commit.sh
git add .
git commit -m 'chore: Update pinned commit of aztec-packages'
git push --set-upstream origin bump-aztec-packages --force
- name: Create PR
if: ${{ steps.pr-check.outputs.pr_url == '' }}
run: |
PR_BODY="""
Automated update of the pinned commit of [aztec-packages](https://github.com/AztecProtocol/aztec-packages) repository against which we run benchmarks.
"""
gh pr create --repo noir-lang/noir --title "chore: bump external pinned commits" --body "$PR_BODY" --base master --head bump-aztec-packages
env:
GH_TOKEN: ${{ secrets.NOIR_REPO_TOKEN }}
8 changes: 4 additions & 4 deletions noir/noir-repo/.github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
// Check if any file is within the 'docs' folder
const docsChanged = files.some(file => file.filename.startsWith('docs/'));
return docsChanged;
- name: Add label if not present
if: steps.check-labels.outputs.result == 'true'
uses: actions/github-script@v7.0.1
Expand All @@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0

- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -102,13 +102,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Download built docs
uses: actions/download-artifact@v4
with:
name: docs
path: ./docs/build

- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.1
with:
Expand Down
8 changes: 4 additions & 4 deletions noir/noir-repo/.github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0
with:
targets: x86_64-unknown-linux-gnu
components: clippy, rustfmt
Expand All @@ -51,7 +51,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0
with:
targets: x86_64-unknown-linux-gnu
components: clippy, rustfmt
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0

- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download nargo binary
uses: ./.github/actions/download-nargo

Expand Down
2 changes: 1 addition & 1 deletion noir/noir-repo/.github/workflows/publish-acvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
ref: ${{ inputs.noir-ref }}

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0

# These steps are in a specific order so crate dependencies are updated first
- name: Publish acir_field
Expand Down
16 changes: 8 additions & 8 deletions noir/noir-repo/.github/workflows/publish-es-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.noir-ref }}

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0

- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: noirc_abi_wasm
path: |
path: |
./tooling/noirc_abi_wasm/nodejs
./tooling/noirc_abi_wasm/web
retention-days: 10
Expand All @@ -58,7 +58,7 @@ jobs:
ref: ${{ inputs.noir-ref }}

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0

- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
ref: ${{ inputs.noir-ref }}

- name: Setup toolchain
uses: dtolnay/rust-toolchain@1.75.0
uses: dtolnay/rust-toolchain@1.85.0

- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -119,7 +119,7 @@ jobs:
./acvm-repo/acvm_js/nodejs
./acvm-repo/acvm_js/web
retention-days: 3

publish-es-packages:
runs-on: ubuntu-22.04
needs: [build-acvm_js, build-noirc_abi_wasm, build-noir_wasm]
Expand All @@ -133,12 +133,12 @@ jobs:
with:
name: acvm-js
path: acvm-repo/acvm_js

- uses: actions/download-artifact@v4
with:
name: noir_wasm
path: compiler/wasm

- uses: actions/download-artifact@v4
with:
name: noirc_abi_wasm
Expand Down
Loading

0 comments on commit 30569a3

Please sign in to comment.