Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .PR_BODY_MESSAGE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
chore: remove unnecessary trait bounds (https://github.com/noir-lang/noir/pull/7635)
feat: add optional oracle resolver url in `acvm_cli` (https://github.com/noir-lang/noir/pull/7630)
chore: Rename `StructDefinition` to `TypeDefinition` (https://github.com/noir-lang/noir/pull/7614)
fix: Error on infinitely recursive types (https://github.com/noir-lang/noir/pull/7579)
fix: update error message to display 128 bits as valid bit size (https://github.com/noir-lang/noir/pull/7626)
chore: update docs to reflect u128 type (https://github.com/noir-lang/noir/pull/7623)
feat: array concat method (https://github.com/noir-lang/noir/pull/7199)
2 changes: 1 addition & 1 deletion .noir-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5a3d2bc0e13a12b039c793c73d7817924c13e159
8e0e5abb66cb43ea2350047f539b914195c2324e
1 change: 1 addition & 0 deletions noir-repo
Submodule noir-repo added at 1fa0dd
1 change: 1 addition & 0 deletions noir/noir-repo-ref
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly-2025-03-10
2 changes: 1 addition & 1 deletion noir/noir-repo/.github/benchmark_projects.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define: &AZ_COMMIT 3b981f9217f9b859bdfbcdba2f5c080392c98da6
define: &AZ_COMMIT fd9f1458557f2d67bcf2d58ba4194e000f58600c
projects:
private-kernel-inner:
repo: AztecProtocol/aztec-packages
Expand Down
4 changes: 2 additions & 2 deletions noir/noir-repo/.github/workflows/publish-nargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
cargo build --package nargo_cli --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
cargo build --package noir_profiler --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
cargo build --package noir_inspector --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package artifacts
run: |
Expand Down Expand Up @@ -237,5 +239,3 @@ jobs:
make_latest: false
overwrite: true
tag: ${{ format('{0}-{1}', 'nightly', steps.date.outputs.date) }}


10 changes: 6 additions & 4 deletions noir/noir-repo/.github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:

- name: Build Nargo
run: cargo build --package nargo_cli --release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package artifacts
run: |
Expand Down Expand Up @@ -305,7 +307,7 @@ jobs:
repository: ${{ matrix.repo }}
path: test-repo
ref: ${{ matrix.ref }}

- name: Fetch noir dependencies
working-directory: ./test-repo/${{ matrix.path }}
run: |
Expand Down Expand Up @@ -341,7 +343,7 @@ jobs:
path: ${{ steps.compilation_report.outputs.report_path }}
retention-days: 3
overwrite: true

- name: Generate execution report
id: execution_report
working-directory: ./test-repo/${{ matrix.path }}
Expand All @@ -359,7 +361,7 @@ jobs:

echo "report_name=$REPORT_NAME" >> $GITHUB_OUTPUT
echo "report_path=$REPORT_PATH" >> $GITHUB_OUTPUT

- name: Upload execution report
if: ${{ !matrix.cannot_execute }}
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -716,7 +718,7 @@ jobs:
- upload_compilation_memory_report
- upload_execution_report
- upload_execution_memory_report

steps:
- name: Report overall success
run: |
Expand Down
4 changes: 3 additions & 1 deletion noir/noir-repo/.github/workflows/test-js-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:

- name: Build Nargo
run: cargo build --package nargo_cli --release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package artifacts
run: |
Expand Down Expand Up @@ -535,7 +537,7 @@ jobs:
fail-fast: false
matrix:
include: ${{ fromJson( needs.critical-library-list.outputs.libraries )}}

name: Check external repo - ${{ matrix.repo }}/${{ matrix.path }}
steps:
- name: Checkout
Expand Down
132 changes: 128 additions & 4 deletions noir/noir-repo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions noir/noir-repo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ members = [
"acvm-repo/bn254_blackbox_solver",
# Utility crates
"utils/iter-extended",
"utils/protobuf",
]
default-members = [
"tooling/nargo_cli",
Expand Down Expand Up @@ -94,6 +95,7 @@ noirc_abi = { path = "tooling/noirc_abi" }
noirc_artifacts = { path = "tooling/noirc_artifacts" }
noirc_artifacts_info = { path = "tooling/noirc_artifacts_info" }
noir_artifact_cli = { path = "tooling/artifact_cli" }
noir_protobuf = { path = "utils/protobuf" }

# Arkworks
ark-bn254 = { version = "^0.5.0", default-features = false, features = [
Expand Down Expand Up @@ -137,6 +139,11 @@ criterion = "0.5.0"
# https://github.com/tikv/pprof-rs/pull/172
pprof = { version = "0.14", features = ["flamegraph", "criterion"] }

# Protobuf
prost = "0.13"
prost-build = "0.13"
protoc-prebuilt = "0.3"

cfg-if = "1.0.0"
dirs = "4"
serde = { version = "1.0.136", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion noir/noir-repo/EXTERNAL_NOIR_LIBRARIES.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define: &AZ_COMMIT 3b981f9217f9b859bdfbcdba2f5c080392c98da6
define: &AZ_COMMIT fd9f1458557f2d67bcf2d58ba4194e000f58600c
libraries:
noir_check_shuffle:
repo: noir-lang/noir_check_shuffle
Expand Down
16 changes: 16 additions & 0 deletions noir/noir-repo/acvm-repo/acir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,42 @@ workspace = true
[dependencies]
acir_field.workspace = true
brillig.workspace = true
noir_protobuf.workspace = true

color-eyre.workspace = true
serde.workspace = true
thiserror.workspace = true
flate2.workspace = true
bincode.workspace = true
base64.workspace = true
prost.workspace = true
serde-big-array = "0.5.1"
strum = { workspace = true }
strum_macros = { workspace = true }

proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }

[build-dependencies]
prost-build.workspace = true
protoc-prebuilt.workspace = true

[dev-dependencies]
serde_json = "1.0"
serde-reflection = "0.3.6"
serde-generate = "0.25.1"
fxhash.workspace = true
criterion.workspace = true
pprof.workspace = true
num-bigint.workspace = true

acir = { path = ".", features = ["arb"] } # Self to turn on `arb`.

[features]
default = []
bn254 = ["acir_field/bn254"]
bls12_381 = ["acir_field/bls12_381"]
arb = ["proptest", "proptest-derive", "brillig/arb"]

[[bench]]
name = "serialization"
Expand Down
Loading