Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
be5ce23
[1 changes] chore!: bump rust edition to 2024 (https://github.com/noi…
Feb 26, 2025
74c6f0b
chore: apply sync fixes
Feb 26, 2025
e8b08d9
Merge branch 'master' into sync-noir
TomAFrench Feb 26, 2025
b7e7293
.
TomAFrench Feb 26, 2025
1841921
Merge branch 'master' into sync-noir
TomAFrench Feb 26, 2025
707ef49
.
TomAFrench Feb 26, 2025
1160adf
.
TomAFrench Feb 26, 2025
ba9f572
.
TomAFrench Feb 26, 2025
a341795
.
TomAFrench Feb 26, 2025
0306855
Merge branch 'master' into sync-noir
TomAFrench Feb 27, 2025
779ad67
.
TomAFrench Feb 27, 2025
91d89f5
.
TomAFrench Feb 27, 2025
2755348
chore: handle renaming of `wasm32-wasi` target
TomAFrench Feb 27, 2025
4a82243
Merge branch 'master' into sync-noir
guipublic Feb 27, 2025
21cbaf5
Revert "chore: handle renaming of `wasm32-wasi` target"
TomAFrench Feb 28, 2025
0a5e9b9
Revert "."
TomAFrench Feb 28, 2025
b3d4c03
Merge branch 'master' into sync-noir
TomAFrench Feb 28, 2025
9513d07
Revert "."
TomAFrench Feb 28, 2025
9ec3fe4
Merge branch 'master' into sync-noir
TomAFrench Feb 28, 2025
f409670
Merge branch 'master' into sync-noir
TomAFrench Feb 28, 2025
58032a6
Merge branch 'master' into sync-noir
TomAFrench Feb 28, 2025
694e792
Merge branch 'master' into sync-noir
TomAFrench Feb 28, 2025
5cce09e
Merge branch 'master' into sync-noir
TomAFrench Mar 3, 2025
d5dc69c
Merge branch 'master' into sync-noir
TomAFrench Mar 3, 2025
feba8b1
Merge branch 'master' into sync-noir
guipublic Mar 3, 2025
9052fa4
Merge branch 'master' into sync-noir
TomAFrench Mar 3, 2025
26b3c1f
Merge branch 'master' into sync-noir
guipublic Mar 4, 2025
4f7fcd8
temp - debug ci
guipublic Mar 4, 2025
4d51c50
.
TomAFrench Mar 4, 2025
0f23ad0
update to noir master 826b18a
guipublic Mar 4, 2025
7435720
revert debug info
guipublic Mar 4, 2025
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
2 changes: 1 addition & 1 deletion .noir-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
42b4ba3fa2f1dfdb92f197bfbe25884078256ae2
826b18a10630471c19c25ab745f9bfe045813e69
2 changes: 1 addition & 1 deletion avm-transpiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "avm-transpiler"
version = "0.1.0"
authors = ["The Aztec Team <hello@aztecprotocol.com>"]
edition = "2021"
edition = "2024"
license = "MIT OR Apache-2.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
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 17e79f42c0a1895dc87a74e4155591e38c45f09b
define: &AZ_COMMIT a90f08e245add379fa0257c81f8e2819beb190cb
projects:
private-kernel-inner:
repo: AztecProtocol/aztec-packages
Expand Down
4 changes: 2 additions & 2 deletions noir/noir-repo/.github/scripts/wasm-bindgen-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ cd $(dirname "$0")
./cargo-binstall-install.sh

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

2 changes: 1 addition & 1 deletion noir/noir-repo/.github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Install wasm-bindgen-cli
uses: taiki-e/install-action@v2
with:
tool: wasm-bindgen-cli@0.2.86
tool: wasm-bindgen-cli@0.2.100

- name: Install wasm-opt
run: |
Expand Down
4 changes: 2 additions & 2 deletions noir/noir-repo/.github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
- name: Install wasm-bindgen-cli
uses: taiki-e/install-action@v2
with:
tool: wasm-bindgen-cli@0.2.86
tool: wasm-bindgen-cli@0.2.100

- name: Install wasm-opt
run: |
npm i wasm-opt -g

- name: Query active docs versions
run: yarn workspace docs version::stables

Expand Down
16 changes: 8 additions & 8 deletions noir/noir-repo/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
node-version: 18.19.0
cache: 'yarn'
cache-dependency-path: 'yarn.lock'

- name: Update yarn.lock
run: yarn

- name: Configure git
run: |
git config user.name noirwhal
Expand All @@ -61,13 +61,13 @@ jobs:
git add .
git commit -m 'chore: Update root workspace acvm versions and lockfile'
git push

update-docs:
name: Update docs
needs: [release-please, update-acvm-workspace-package-versions]
if: ${{ needs.release-please.outputs.release-pr }}
runs-on: ubuntu-22.04

steps:
- name: Checkout release branch
uses: actions/checkout@v4
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Install wasm-bindgen-cli
uses: taiki-e/install-action@v2
with:
tool: wasm-bindgen-cli@0.2.86
tool: wasm-bindgen-cli@0.2.100

- name: Install wasm-opt
run: |
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
runs-on: ubuntu-22.04
# We want this job to always run (even if the dependant jobs fail) as we need apply changes to the sticky comment.
if: ${{ always() }}

needs:
- release-please
- update-acvm-workspace-package-versions
Expand All @@ -123,7 +123,7 @@ jobs:
# We treat any skipped or failing jobs as a failure for the workflow as a whole.
FAIL: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}

steps:
steps:
- name: Add warning to sticky comment
uses: marocchino/sticky-pull-request-comment@v2
with:
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
needs: [release-please]
if: ${{ needs.release-please.outputs.tag-name }}
runs-on: ubuntu-22.04

steps:
- name: Dispatch to publish-acvm
uses: benc-uk/workflow-dispatch@v1
Expand Down
71 changes: 42 additions & 29 deletions noir/noir-repo/Cargo.lock

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

8 changes: 4 additions & 4 deletions noir/noir-repo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resolver = "2"
version = "1.0.0-beta.3"
# x-release-please-end
authors = ["The Noir Team <team@noir-lang.org>"]
edition = "2021"
edition = "2024"
rust-version = "1.85.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/noir-lang/noir/"
Expand Down Expand Up @@ -116,9 +116,9 @@ lsp-types = "0.94.1"
tower = "0.4"

# Wasm
wasm-bindgen = { version = "=0.2.86", features = ["serde-serialize"] }
wasm-bindgen-test = "0.3.36"
wasm-bindgen-futures = "0.4.36"
wasm-bindgen = { version = "=0.2.100", features = ["serde-serialize"] }
wasm-bindgen-test = "0.3.50"
wasm-bindgen-futures = "0.4.50"
console_error_panic_hook = "0.1.7"
gloo-utils = { version = "0.1", features = ["serde"] }
js-sys = "0.3.62"
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 17e79f42c0a1895dc87a74e4155591e38c45f09b
define: &AZ_COMMIT a90f08e245add379fa0257c81f8e2819beb190cb
libraries:
noir_check_shuffle:
repo: noir-lang/noir_check_shuffle
Expand Down
4 changes: 2 additions & 2 deletions noir/noir-repo/acvm-repo/acir/src/circuit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ impl<F: Serialize> Program<F> {
program_bytes
}

// Serialize and base64 encode program
/// Serialize and base64 encode program
pub fn serialize_program_base64<S>(program: &Self, s: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
Expand All @@ -277,7 +277,7 @@ impl<F: for<'a> Deserialize<'a>> Program<F> {
Program::read(serialized_circuit)
}

// Deserialize and base64 decode program
/// Deserialize and base64 decode program
pub fn deserialize_program_base64<'de, D>(deserializer: D) -> Result<Self, D::Error>
where
D: Deserializer<'de>,
Expand Down
2 changes: 1 addition & 1 deletion noir/noir-repo/acvm-repo/acvm/src/pwg/blackbox/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn first_missing_assignment<F>(
inputs: &[FunctionInput<F>],
) -> Option<Witness> {
inputs.iter().find_map(|input| {
if let ConstantOrWitnessEnum::Witness(ref witness) = input.input_ref() {
if let ConstantOrWitnessEnum::Witness(witness) = input.input_ref() {
if witness_assignments.contains_key(witness) { None } else { Some(*witness) }
} else {
None
Expand Down
2 changes: 1 addition & 1 deletion noir/noir-repo/acvm-repo/acvm_js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ getrandom = { workspace = true, features = ["js"] }
build-data.workspace = true
pkg-config = "0.3"

[dev-dependencies]
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test.workspace = true

[features]
Expand Down
6 changes: 3 additions & 3 deletions noir/noir-repo/acvm-repo/acvm_js/src/js_witness_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ pub(crate) fn field_element_to_js_string(field_element: &FieldElement) -> JsStri
format!("0x{}", field_element.to_hex()).into()
}

#[cfg(test)]
#[cfg(all(test, any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))]
mod test {
use wasm_bindgen_test::wasm_bindgen_test as test;
use wasm_bindgen_test::*;

use std::collections::BTreeMap;

Expand All @@ -120,7 +120,7 @@ mod test {

use crate::JsWitnessMap;

#[test]
#[wasm_bindgen_test]
fn test_witness_map_to_js() {
let witness_map = BTreeMap::from([
(Witness(1), FieldElement::one()),
Expand Down
Loading
Loading