From d06c1415d29ea14df64b8f509cc350f8833faf79 Mon Sep 17 00:00:00 2001 From: AztecBot <49558828+AztecBot@users.noreply.github.com> Date: Wed, 6 May 2026 16:31:28 +0000 Subject: [PATCH] chore: Update Noir to nightly-2026-05-05 Automated update of Noir submodule to latest nightly. **Current**: unknown **New**: nightly-2026-05-05 [View changes in noir-lang/noir](https://github.com/noir-lang/noir/compare/20391fdcb15a8ec9086a4ad69c15b33d72ce5ea8...nightly-2026-05-05) --- noir/noir-repo | 2 +- yarn-project/end-to-end/src/e2e_avm_simulator.test.ts | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/noir/noir-repo b/noir/noir-repo index 20391fdcb15a..d52888d57c7c 160000 --- a/noir/noir-repo +++ b/noir/noir-repo @@ -1 +1 @@ -Subproject commit 20391fdcb15a8ec9086a4ad69c15b33d72ce5ea8 +Subproject commit d52888d57c7ce960d81b4ba1f996234211f1ba24 diff --git a/yarn-project/end-to-end/src/e2e_avm_simulator.test.ts b/yarn-project/end-to-end/src/e2e_avm_simulator.test.ts index 58e7980edcea..05eef0fdf403 100644 --- a/yarn-project/end-to-end/src/e2e_avm_simulator.test.ts +++ b/yarn-project/end-to-end/src/e2e_avm_simulator.test.ts @@ -45,9 +45,9 @@ describe('e2e_avm_simulator', () => { describe('Assertions & error enriching', () => { /** * Expect an error like: - * Assertion failed: This assertion should fail! 'not_true == true' + * Assertion failed: This assertion should fail! 'assert(not_true == true, "This assertion should fail!")' * ... - * at not_true == true (../../../../../../../home/aztec-dev/aztec-packages/noir-projects/noir-contracts/contracts/test/avm_test_contract/src/main.nr:223:16) + * at assert(not_true == true, "This assertion should fail!") (../../../../../../../home/aztec-dev/aztec-packages/noir-projects/noir-contracts/contracts/test/avm_test_contract/src/main.nr:223:5) * at inner_helper_with_failed_assertion() (../../../../../../../home/aztec-dev/aztec-packages/noir-projects/noir-contracts/contracts/test/avm_test_contract/src/main.nr:228:9) * at quote { $self } (../std/meta/expr.nr:269:9) * at function.name(); @@ -60,7 +60,9 @@ describe('e2e_avm_simulator', () => { avmContract.methods.assertion_failure().simulate({ from: defaultAccountAddress }), ).rejects.toThrow( expect.objectContaining({ - message: expect.stringMatching(/Assertion failed: This assertion should fail! 'not_true == true'/), + message: expect.stringMatching( + /Assertion failed: This assertion should fail! 'assert\(not_true == true, "This assertion should fail!"\)'/, + ), stack: expect.stringMatching(/at inner_helper_with_failed_assertion[\s\S]*at AvmTest\..*/), }), );