From 4cc9410b57bcbf1ac8fffcd53f22c37f636013a0 Mon Sep 17 00:00:00 2001 From: Aztec Bot <49558828+AztecBot@users.noreply.github.com> Date: Mon, 14 Oct 2024 19:44:35 -0400 Subject: [PATCH] feat: Sync from noir (#9099) Automated pull of development from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE feat(test): Fuzz poseidon hases against an external library (https://github.com/noir-lang/noir/pull/6273) feat: remove byte decomposition in `compute_decomposition` (https://github.com/noir-lang/noir/pull/6159) fix: address inactive public key check in `verify_signature_noir` (https://github.com/noir-lang/noir/pull/6270) feat(test): Fuzz test poseidon2 hash equivalence (https://github.com/noir-lang/noir/pull/6265) fix!: Integer division is not the inverse of integer multiplication (https://github.com/noir-lang/noir/pull/6243) feat(perf): Flamegraphs for test program execution benchmarks (https://github.com/noir-lang/noir/pull/6253) fix: visibility for impl methods (https://github.com/noir-lang/noir/pull/6261) feat: Add `checked_transmute` (https://github.com/noir-lang/noir/pull/6262) feat!: kind size checks (https://github.com/noir-lang/noir/pull/6137) feat: don't crash LSP when there are errors resolving the workspace (https://github.com/noir-lang/noir/pull/6257) fix: don't warn on unuse global if it has an abi annotation (https://github.com/noir-lang/noir/pull/6258) fix: don't warn on unused struct that has an abi annotation (https://github.com/noir-lang/noir/pull/6254) feat: don't suggest private struct fields in LSP (https://github.com/noir-lang/noir/pull/6256) feat: visibility for struct fields (https://github.com/noir-lang/noir/pull/6221) fix: handle dfg databus in SSA normalization (https://github.com/noir-lang/noir/pull/6249) fix: homogeneous input points for EC ADD (https://github.com/noir-lang/noir/pull/6241) chore: add regression test for #5756 (https://github.com/noir-lang/noir/pull/5770) feat: allow `unconstrained` after visibility (https://github.com/noir-lang/noir/pull/6246) feat: optimize `Quoted::as_expr` by parsing just once (https://github.com/noir-lang/noir/pull/6237) fix(frontend): Do not warn when a nested struct is provided as input to main (https://github.com/noir-lang/noir/pull/6239) fix!: Change tag attributes to require a ' prefix (https://github.com/noir-lang/noir/pull/6235) feat: recover from '=' instead of ':' in struct constructor/pattern (https://github.com/noir-lang/noir/pull/6236) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French --- aztec/src/macros/dispatch/mod.nr | 1 + 1 file changed, 1 insertion(+) diff --git a/aztec/src/macros/dispatch/mod.nr b/aztec/src/macros/dispatch/mod.nr index 52a42d1..47172e7 100644 --- a/aztec/src/macros/dispatch/mod.nr +++ b/aztec/src/macros/dispatch/mod.nr @@ -93,6 +93,7 @@ pub comptime fn generate_public_dispatch(m: Module) -> Quoted { // functions having this attribute. However, the public MACRO will // handle the public_dispatch function specially and do nothing. #[public] + #['public] pub unconstrained fn public_dispatch(selector: Field) { $dispatch }