-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated pull of development from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE fix: Require for all foldable functions to use distinct return (noir-lang/noir#4949) feat!: use `distinct` return value witnesses by default (noir-lang/noir#4951) chore(docs): adding matomo tracking (noir-lang/noir#4898) chore: fix typo in `ResolverError::AbiAttributeOutsideContract` (noir-lang/noir#4933) chore: Add test for recursing a foldable function (noir-lang/noir#4948) feat: Handle `no_predicates` attribute (noir-lang/noir#4942) fix: ensure where clauses propagated to trait default definitions (noir-lang/noir#4894) chore: Remove unnecessary `pub(super)` in interpreter (noir-lang/noir#4939) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French <[email protected]> Co-authored-by: Maxim Vezenov <[email protected]>
- Loading branch information
1 parent
af3192d
commit 4dc5efb
Showing
86 changed files
with
588 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8aad2e45acbe08afc3902db95a83324f822c35eb | ||
d4c68066ab35ce1c52510cf0c038fb627a0677c3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/parity-base/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::parity_lib::{BaseParityInputs, ParityPublicInputs}; | ||
|
||
#[recursive] | ||
fn main(inputs: BaseParityInputs) -> distinct pub ParityPublicInputs { | ||
fn main(inputs: BaseParityInputs) -> pub ParityPublicInputs { | ||
inputs.base_parity_circuit() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/parity-root/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::parity_lib::{RootParityInputs, ParityPublicInputs}; | ||
|
||
#[recursive] | ||
fn main(inputs: RootParityInputs) -> distinct pub ParityPublicInputs { | ||
fn main(inputs: RootParityInputs) -> pub ParityPublicInputs { | ||
inputs.root_parity_circuit() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-init-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelInitCircuitPrivateInputs; | ||
use dep::types::PrivateKernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PrivateKernelInitCircuitPrivateInputs) -> distinct pub PrivateKernelCircuitPublicInputs { | ||
unconstrained fn main(input: PrivateKernelInitCircuitPrivateInputs) -> pub PrivateKernelCircuitPublicInputs { | ||
input.native_private_kernel_circuit_initial() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-init/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelInitCircuitPrivateInputs; | ||
use dep::types::PrivateKernelCircuitPublicInputs; | ||
|
||
fn main(input: PrivateKernelInitCircuitPrivateInputs) -> distinct pub PrivateKernelCircuitPublicInputs { | ||
fn main(input: PrivateKernelInitCircuitPrivateInputs) -> pub PrivateKernelCircuitPublicInputs { | ||
input.native_private_kernel_circuit_initial() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-inner-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelInnerCircuitPrivateInputs; | ||
use dep::types::PrivateKernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PrivateKernelInnerCircuitPrivateInputs) -> distinct pub PrivateKernelCircuitPublicInputs { | ||
unconstrained fn main(input: PrivateKernelInnerCircuitPrivateInputs) -> pub PrivateKernelCircuitPublicInputs { | ||
input.native_private_kernel_circuit_inner() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-inner/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelInnerCircuitPrivateInputs; | ||
use dep::types::PrivateKernelCircuitPublicInputs; | ||
|
||
fn main(input: PrivateKernelInnerCircuitPrivateInputs) -> distinct pub PrivateKernelCircuitPublicInputs { | ||
fn main(input: PrivateKernelInnerCircuitPrivateInputs) -> pub PrivateKernelCircuitPublicInputs { | ||
input.native_private_kernel_circuit_inner() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-tail-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelTailCircuitPrivateInputs; | ||
use dep::types::KernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PrivateKernelTailCircuitPrivateInputs) -> distinct pub KernelCircuitPublicInputs { | ||
unconstrained fn main(input: PrivateKernelTailCircuitPrivateInputs) -> pub KernelCircuitPublicInputs { | ||
input.native_private_kernel_circuit_tail() | ||
} |
2 changes: 1 addition & 1 deletion
2
...rojects/noir-protocol-circuits/crates/private-kernel-tail-to-public-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelTailToPublicCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PrivateKernelTailToPublicCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
unconstrained fn main(input: PrivateKernelTailToPublicCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.execute() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelTailToPublicCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
fn main(input: PrivateKernelTailToPublicCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
fn main(input: PrivateKernelTailToPublicCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.execute() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/private-kernel-tail/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::private_kernel_lib::PrivateKernelTailCircuitPrivateInputs; | ||
use dep::types::KernelCircuitPublicInputs; | ||
|
||
fn main(input: PrivateKernelTailCircuitPrivateInputs) -> distinct pub KernelCircuitPublicInputs { | ||
fn main(input: PrivateKernelTailCircuitPrivateInputs) -> pub KernelCircuitPublicInputs { | ||
input.native_private_kernel_circuit_tail() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-app-logic-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelAppLogicCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PublicKernelAppLogicCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
unconstrained fn main(input: PublicKernelAppLogicCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.public_kernel_app_logic() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-app-logic/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelAppLogicCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
fn main(input: PublicKernelAppLogicCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
fn main(input: PublicKernelAppLogicCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.public_kernel_app_logic() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-setup-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelSetupCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PublicKernelSetupCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
unconstrained fn main(input: PublicKernelSetupCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.public_kernel_setup() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-setup/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelSetupCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
fn main(input: PublicKernelSetupCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
fn main(input: PublicKernelSetupCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.public_kernel_setup() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-tail-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelTailCircuitPrivateInputs; | ||
use dep::types::KernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PublicKernelTailCircuitPrivateInputs) -> distinct pub KernelCircuitPublicInputs { | ||
unconstrained fn main(input: PublicKernelTailCircuitPrivateInputs) -> pub KernelCircuitPublicInputs { | ||
input.public_kernel_tail() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-tail/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelTailCircuitPrivateInputs; | ||
use dep::types::KernelCircuitPublicInputs; | ||
|
||
fn main(input: PublicKernelTailCircuitPrivateInputs) -> distinct pub KernelCircuitPublicInputs { | ||
fn main(input: PublicKernelTailCircuitPrivateInputs) -> pub KernelCircuitPublicInputs { | ||
input.public_kernel_tail() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-teardown-simulated/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelTeardownCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
unconstrained fn main(input: PublicKernelTeardownCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
unconstrained fn main(input: PublicKernelTeardownCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.public_kernel_teardown() | ||
} |
2 changes: 1 addition & 1 deletion
2
noir-projects/noir-protocol-circuits/crates/public-kernel-teardown/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use dep::public_kernel_lib::PublicKernelTeardownCircuitPrivateInputs; | ||
use dep::types::PublicKernelCircuitPublicInputs; | ||
|
||
fn main(input: PublicKernelTeardownCircuitPrivateInputs) -> distinct pub PublicKernelCircuitPublicInputs { | ||
fn main(input: PublicKernelTeardownCircuitPrivateInputs) -> pub PublicKernelCircuitPublicInputs { | ||
input.public_kernel_teardown() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.