-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
5,521 additions
and
5,531 deletions.
There are no files selected for viewing
4,070 changes: 2,035 additions & 2,035 deletions
4,070
yarn-project/aztec.js/src/abis/ecdsa_account_contract.json
Large diffs are not rendered by default.
Oops, something went wrong.
5,252 changes: 2,626 additions & 2,626 deletions
5,252
yarn-project/aztec.js/src/abis/schnorr_account_contract.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,702 changes: 851 additions & 851 deletions
1,702
yarn-project/aztec.js/src/abis/schnorr_single_key_account_contract.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
6 changes: 4 additions & 2 deletions
6
yarn-project/noir-libs/noir-aztec/src/oracle/get_secret_key.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,8 +1,10 @@ | ||
use crate::types::point::Point; | ||
use crate::oracle::get_public_key::get_public_key; | ||
|
||
#[oracle(getSecretKey)] | ||
fn get_secret_key_oracle(_owner: Point) -> Field {} | ||
|
||
unconstrained fn get_secret_key(owner: Point) -> Field { | ||
get_secret_key_oracle(owner) | ||
unconstrained fn get_secret_key(owner: Field) -> Field { | ||
let owner_nullifying_public_key = get_public_key(owner); | ||
get_secret_key_oracle(owner_nullifying_public_key) | ||
} |
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