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 diff --git a/yarn-project/aztec/src/cli/cmds/utils/needs_recompile.ts b/yarn-project/aztec/src/cli/cmds/utils/needs_recompile.ts index f2a8096d9fc0..2a48c068b2e5 100644 --- a/yarn-project/aztec/src/cli/cmds/utils/needs_recompile.ts +++ b/yarn-project/aztec/src/cli/cmds/utils/needs_recompile.ts @@ -77,6 +77,7 @@ async function collectCrateDirs(startCrateDir: string): Promise { const members = (parsed.workspace as Record)?.members as string[] | undefined; + // A Nargo.toml is either a workspace root (has workspace.members) or a single crate (has dependencies). if (Array.isArray(members)) { // The crate is a workspace root and has members defined so we visit the members for (const member of members) {