-
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.
commit 4064e18 Author: AztecBot <[email protected]> Date: Thu Mar 28 02:17:40 2024 +0000 git subrepo push --branch=master noir-projects/aztec-nr subrepo: subdir: "noir-projects/aztec-nr" merged: "485393ab1" upstream: origin: "https://github.com/AztecProtocol/aztec-nr" branch: "master" commit: "485393ab1" git-subrepo: version: "0.4.6" origin: "???" commit: "???" [skip ci] commit a8b48b8 Author: AztecBot <[email protected]> Date: Thu Mar 28 02:17:37 2024 +0000 git_subrepo.sh: Fix parent in .gitrepo file. [skip ci] commit 1f468db Author: AztecBot <[email protected]> Date: Thu Mar 28 02:17:37 2024 +0000 chore: replace relative paths to noir-protocol-circuits commit 4329d40 Author: AztecBot <[email protected]> Date: Thu Mar 28 02:12:17 2024 +0000 git subrepo push --branch=master barretenberg subrepo: subdir: "barretenberg" merged: "8afbd6d42" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "8afbd6d42" git-subrepo: version: "0.4.6" origin: "???" commit: "???" [skip ci] commit a18288d Author: Álvaro Rodríguez <[email protected]> Date: Wed Mar 27 22:00:46 2024 +0100 feat: Dont double check num bits in brillig vm (#5489) We already have typed memory, that is checked on data ingestion and outputs of operations. It shouldn't be necessary to perform safe type conversions for MemoryValues commit b9041e4 Author: maramihali <[email protected]> Date: Wed Mar 27 16:39:39 2024 -0400 chore: add goblin ops in add_gates_to_ensure_all_polys_are_non_zero (#5468) Resolves AztecProtocol/barretenberg#843. Removes the need to add golin ecc ops for each UGH circuit by ensuring we add the dummy gates as part of the function used to ensure other polynomials are non-zero due to the absence of specific gates. However, we keep adding goblin ecc gates to circuits in situations when we want to test Goblin and also in ClientIVC because merge proving is done prior to ProverInstance creation. commit 277168f Author: esau <[email protected]> Date: Wed Mar 27 18:10:48 2024 +0100 chore: run nargo format for noir-projects (#5483)
- Loading branch information
Showing
63 changed files
with
212 additions
and
211 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
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
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
5 changes: 1 addition & 4 deletions
5
noir-projects/aztec-nr/aztec/src/context/inputs/private_context_inputs.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
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
47 changes: 17 additions & 30 deletions
47
noir-projects/aztec-nr/aztec/src/history/contract_inclusion.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
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
3 changes: 1 addition & 2 deletions
3
noir-projects/aztec-nr/aztec/src/oracle/enqueue_public_function_call.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
17 changes: 11 additions & 6 deletions
17
noir-projects/aztec-nr/aztec/src/oracle/get_l1_to_l2_membership_witness.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,12 +1,17 @@ | ||
use dep::protocol_types::{ | ||
address::AztecAddress, | ||
constants::L1_TO_L2_MESSAGE_ORACLE_CALL_LENGTH, | ||
}; | ||
use dep::protocol_types::{address::AztecAddress, constants::L1_TO_L2_MESSAGE_ORACLE_CALL_LENGTH}; | ||
|
||
// Obtains membership witness (index and sibling path) for a message in the L1 to L2 message tree. | ||
#[oracle(getL1ToL2MembershipWitness)] | ||
fn get_l1_to_l2_membership_witness_oracle(_contract_address: AztecAddress, _message_hash: Field, _secret: Field) -> [Field; L1_TO_L2_MESSAGE_ORACLE_CALL_LENGTH] {} | ||
fn get_l1_to_l2_membership_witness_oracle( | ||
_contract_address: AztecAddress, | ||
_message_hash: Field, | ||
_secret: Field | ||
) -> [Field; L1_TO_L2_MESSAGE_ORACLE_CALL_LENGTH] {} | ||
|
||
unconstrained pub fn get_l1_to_l2_membership_witness(contract_address: AztecAddress, message_hash: Field, secret: Field) -> [Field; L1_TO_L2_MESSAGE_ORACLE_CALL_LENGTH] { | ||
unconstrained pub fn get_l1_to_l2_membership_witness( | ||
contract_address: AztecAddress, | ||
message_hash: Field, | ||
secret: Field | ||
) -> [Field; L1_TO_L2_MESSAGE_ORACLE_CALL_LENGTH] { | ||
get_l1_to_l2_membership_witness_oracle(contract_address, message_hash, secret) | ||
} |
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/aztec-nr/aztec/src/state_vars/private_immutable.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
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.