From ce34538ac110d576100a88d7c891c9874112af2e Mon Sep 17 00:00:00 2001 From: Aztec Bot <49558828+AztecBot@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:04:38 -0500 Subject: [PATCH] feat: Sync from noir (#9711) Automated pull of development from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE feat: nargo command to generate shell completions (https://github.com/noir-lang/noir/pull/6413) feat: ensure that generated ACIR is solvable (https://github.com/noir-lang/noir/pull/6415) fix: fix Alias and Error kinds (https://github.com/noir-lang/noir/pull/6426) fix: type-check turbofish in trait before function call (https://github.com/noir-lang/noir/pull/6416) chore: create a regression test for #6420 (https://github.com/noir-lang/noir/pull/6421) chore: Release Noir(0.37.0) (https://github.com/noir-lang/noir/pull/6321) chore: update variable names in stdlib tests to be more correct (https://github.com/noir-lang/noir/pull/6419) feat!: remove mimc from stdlib (https://github.com/noir-lang/noir/pull/6402) chore: Replace dead link with updated route in README (https://github.com/noir-lang/noir/pull/6392) feat(ci): Add report of Brillig opcodes executed (https://github.com/noir-lang/noir/pull/6396) feat: improve malformed test attribute error (https://github.com/noir-lang/noir/pull/6414) fix: aliases in path (https://github.com/noir-lang/noir/pull/6399) feat(profiler): Add Brillig procedure info to debug artifact for more informative profiling (https://github.com/noir-lang/noir/pull/6385) chore(lsp): Remove profile code lens (https://github.com/noir-lang/noir/pull/6411) chore(nargo): Remove old profile as part of info cmd (https://github.com/noir-lang/noir/pull/6406) fix: distinguish TypePath with and without turbofish (https://github.com/noir-lang/noir/pull/6404) fix: numeric generic doesn't have a default type (https://github.com/noir-lang/noir/pull/6405) feat: Sync from aztec-packages (https://github.com/noir-lang/noir/pull/6403) chore: add regression tests for #4372 (https://github.com/noir-lang/noir/pull/6401) chore: add regression tests for #6314 (https://github.com/noir-lang/noir/pull/6381) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> --- aztec/src/context/public_context.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aztec/src/context/public_context.nr b/aztec/src/context/public_context.nr index 9730495..910741a 100644 --- a/aztec/src/context/public_context.nr +++ b/aztec/src/context/public_context.nr @@ -295,7 +295,7 @@ unconstrained fn avm_return(returndata: [Field; N]) { // to do rethrows, where the revert data is the same as the original revert data. // For normal reverts, use Noir's `assert` which, on top of reverting, will also add // an error selector to the revert data. -unconstrained fn avm_revert(revertdata: [Field]) { +unconstrained fn avm_revert(revertdata: [Field]) { revert_opcode(revertdata) }