From 91fd2ceba8c0f42150dfc0b77c6f2f6552e10e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bene=C5=A1?= Date: Thu, 12 Mar 2026 09:18:43 +0700 Subject: [PATCH] fix: address review feedback from PRs #21284 and #21237 (#21369) --- .../aztec/src/macros/internals_functions_generation/mod.nr | 2 +- .../panic_on_direct_utility_external_fn_call/expected_error | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/noir-projects/aztec-nr/aztec/src/macros/internals_functions_generation/mod.nr b/noir-projects/aztec-nr/aztec/src/macros/internals_functions_generation/mod.nr index a1b3f9f8efe5..f6b686128403 100644 --- a/noir-projects/aztec-nr/aztec/src/macros/internals_functions_generation/mod.nr +++ b/noir-projects/aztec-nr/aztec/src/macros/internals_functions_generation/mod.nr @@ -75,7 +75,7 @@ pub(crate) comptime fn process_functions(m: Module) -> Quoted { ); make_functions_uncallable( utility_functions, - "Calling utility functions directly from within the contract is not supported. You attempted to call ", + "Direct invocation of utility functions is not supported. You attempted to call ", ); // INTERNAL FUNCTIONS diff --git a/noir-projects/noir-contracts-comp-failures/contracts/panic_on_direct_utility_external_fn_call/expected_error b/noir-projects/noir-contracts-comp-failures/contracts/panic_on_direct_utility_external_fn_call/expected_error index 23529a516337..d83a13317cd4 100644 --- a/noir-projects/noir-contracts-comp-failures/contracts/panic_on_direct_utility_external_fn_call/expected_error +++ b/noir-projects/noir-contracts-comp-failures/contracts/panic_on_direct_utility_external_fn_call/expected_error @@ -1 +1 @@ -Calling utility functions directly from within the contract is not supported. You attempted to call arbitrary_external_function. See https://docs.aztec.network/errors/6 +Direct invocation of utility functions is not supported. You attempted to call arbitrary_external_function. See https://docs.aztec.network/errors/6