From 824971203452ab1dd209465f48635bd57d03c7ba Mon Sep 17 00:00:00 2001 From: Aztec Bot <49558828+AztecBot@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:29:45 -0400 Subject: [PATCH] feat: Sync from noir (#8543) Automated pull of development from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE feat: add `Expr::as_for` and `Expr::as_for_range` (https://github.com/noir-lang/noir/pull/6039) fix: Fix canonicalization bug (https://github.com/noir-lang/noir/pull/6033) fix: Parse a statement as an expression (https://github.com/noir-lang/noir/pull/6040) chore: rename CustomAtrribute to CustomAttribute (https://github.com/noir-lang/noir/pull/6038) fix: error on `&mut x` when `x` is not mutable (https://github.com/noir-lang/noir/pull/6037) feat: add `Expr::as_constructor` (https://github.com/noir-lang/noir/pull/5980) chore: Fix docs (https://github.com/noir-lang/noir/pull/6035) chore: document array methods (https://github.com/noir-lang/noir/pull/6034) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> --- aztec/src/keys/getters/test.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aztec/src/keys/getters/test.nr b/aztec/src/keys/getters/test.nr index d83594e0..f6a54b19 100644 --- a/aztec/src/keys/getters/test.nr +++ b/aztec/src/keys/getters/test.nr @@ -18,7 +18,7 @@ fn setup() -> (TestEnvironment, PrivateContext, TestAccount) { #[test(should_fail_with="Invalid public keys hint for address")] fn test_get_current_keys_unknown_unregistered() { - let (_, context, account) = setup(); + let (_, mut context, account) = setup(); let _ = OracleMock::mock("getPublicKeysAndPartialAddress").returns([0; KEY_ORACLE_RESPONSE_LENGTH]).times(1); let _ = get_current_public_keys(&mut context, account.address);