Skip to content

Commit d2412bd

Browse files
committed
chore: Update Noir to nightly-2026-01-02
Automated update of Noir submodule to latest nightly. **Current**: unknown **New**: nightly-2026-01-02 [View changes in noir-lang/noir](noir-lang/noir@084ed53...nightly-2026-01-02)
1 parent 6e0ff95 commit d2412bd

File tree

13 files changed

+209
-527
lines changed

13 files changed

+209
-527
lines changed

avm-transpiler/Cargo.lock

Lines changed: 190 additions & 507 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

avm-transpiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ crate-type = ["staticlib", "rlib"]
1414
[dependencies]
1515
# local
1616
acvm = { path = "../noir/noir-repo/acvm-repo/acvm", features = ["bn254"] }
17-
noirc_errors = { path = "../noir/noir-repo/compiler/noirc_errors" }
1817
noirc_abi = { path = "../noir/noir-repo/tooling/noirc_abi" }
18+
noirc_artifacts = { path = "../noir/noir-repo/tooling/noirc_artifacts" }
1919
noirc_evaluator = { path = "../noir/noir-repo/compiler/noirc_evaluator", features = ["bn254"] }
2020
noirc_frontend = { path = "../noir/noir-repo/compiler/noirc_frontend", features = ["test_utils"] }
2121

avm-transpiler/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use base64 as _;
1515
use fxhash as _;
1616
use libc as _;
1717
use noirc_abi as _;
18-
use noirc_errors as _;
18+
use noirc_artifacts as _;
1919
use noirc_evaluator as _;
2020
use noirc_frontend as _;
2121
use once_cell as _;

avm-transpiler/src/transpile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use acvm::acir::circuit::BrilligOpcodeLocation;
77
use acvm::brillig_vm::brillig::{
88
BinaryFieldOp, BinaryIntOp, BlackBoxOp, HeapArray, HeapVector, MemoryAddress, ValueOrArray,
99
};
10-
use noirc_errors::debug_info::DebugInfo;
10+
use noirc_artifacts::debug::DebugInfo;
1111

1212
use crate::bit_traits::{BitsQueryable, bits_needed_for};
1313
use crate::instructions::{AddressingModeBuilder, AvmInstruction, AvmOperand, AvmTypeTag};

avm-transpiler/src/transpile_contract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use serde::{Deserialize, Serialize};
77

88
use acvm::acir::circuit::Program;
99
use noirc_abi::{Abi, AbiErrorType, AbiParameter, AbiType};
10-
use noirc_errors::debug_info::{DebugInfo, ProgramDebugInfo};
10+
use noirc_artifacts::debug::{DebugInfo, ProgramDebugInfo};
1111
use noirc_evaluator::ErrorType;
1212

1313
use crate::instructions::{AvmInstruction, AvmOperand, AvmTypeTag};

barretenberg/acir_tests/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function test_cmds {
156156
local sol_prefix="$tests_hash:ISOLATE=1"
157157
# Solidity tests. Isolate because anvil.
158158
# Test the solidity verifier with and without zk
159-
for t in assert_statement a_1_mul slices verify_honk_proof; do
159+
for t in assert_statement a_1_mul vectors verify_honk_proof; do
160160
echo "$sol_prefix $scripts/bb_prove_sol_verify.sh $t --disable_zk"
161161
echo "$sol_prefix $scripts/bb_prove_sol_verify.sh $t"
162162
echo "$sol_prefix USE_OPTIMIZED_CONTRACT=true $scripts/bb_prove_sol_verify.sh $t --disable_zk"

noir-projects/aztec-nr/aztec/src/context/public_context.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl PublicContext {
107107
T: Serialize,
108108
{
109109
// Safety: AVM opcodes are constrained by the AVM itself
110-
unsafe { emit_public_log(Serialize::serialize(log).as_slice()) };
110+
unsafe { emit_public_log(Serialize::serialize(log).as_vector()) };
111111
}
112112

113113
/// Checks if a given note hash exists in the note hash tree at a particular

noir-projects/aztec-nr/aztec/src/macros/dispatch.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub comptime fn generate_public_dispatch(m: Module) -> Quoted {
8484
} else {
8585
quote {
8686
let return_value = dep::aztec::protocol_types::traits::Serialize::serialize($call);
87-
dep::aztec::context::public_context::avm_return(return_value.as_slice());
87+
dep::aztec::context::public_context::avm_return(return_value.as_vector());
8888
}
8989
};
9090

noir-projects/aztec-nr/aztec/src/macros/utils.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ impl AsStrQuote for Quoted {
101101
let token_as_fmt_str = f"{token}";
102102
let token_as_str = unquote!(quote {$token_as_fmt_str});
103103
let token_len = unquote!(quote { $token_as_str.as_bytes().len() });
104-
let token_as_bytes = unquote!(quote { $token_as_str.as_bytes().as_slice() });
104+
let token_as_bytes = unquote!(quote { $token_as_str.as_bytes().as_vector() });
105105
total_len += token_len;
106106
acc = acc.append(token_as_bytes);
107107
}

noir/bootstrap.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export js_include=$(printf " --include %s" $js_projects)
1919
export GIT_COMMIT=$noir_commit
2020
export SOURCE_DATE_EPOCH=0
2121
export GIT_DIRTY=false
22-
export RUSTFLAGS="-Dwarnings"
2322

2423
# Builds nargo, acvm and profiler binaries.
2524
function build_native {

0 commit comments

Comments
 (0)