Skip to content

Commit

Permalink
upload circuit artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Sladuca committed Sep 4, 2023
1 parent 782cd5c commit d3e3511
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Nocturne Snap",
"proposedName": "Nocturne Snap",
"source": {
"shasum": "99sZdKu1VqemFk1F8hMu0f3jc5SAb+9eCgOwgfhh37o=",
"shasum": "lwE1DkV2iEAcQ7t+DQBnDiVTS//fJ3W7kmlfX6CHsiE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/circuits/canonAddrSigCheck.circom
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ template CanonAddrSigCheck() {

//@lemma(1) prover knows the spending key corresponding to `spendPubkey`
//@argument `SigVerify.requires(1)` is guaranteed by checks above. Therefore `SigVerify.ensures(1)` is true
// in which case the prover must know the underlying spending key for spengPubkey (otherwise they can't produce valid sig)
// in which case the prover must know the underlying spending key for spendPubkey (otherwise they can't produce valid sig)
SigVerify()(spendPubkey, CANONICAL_ADDRESS_REGISTRY_MSG, sig);


Expand Down
5 changes: 2 additions & 3 deletions packages/frontend-sdk/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ const JOINSPLIT_WASM_PATH =
const JOINSPLIT_ZKEY_PATH =
"https://frontend-sdk-circuit-artifacts.s3.us-east-2.amazonaws.com/joinsplit/joinsplit.zkey";

// TODO
const CANON_ADDR_SIG_CHECK_WASM_PATH = "TODO";
const CANON_ADDR_SIG_CHECK_ZKEY_PATH = "TODO";
const CANON_ADDR_SIG_CHECK_WASM_PATH = "https://frontend-sdk-circuit-artifacts.s3.us-east-2.amazonaws.com/canonAddrSigCheck/canonAddrSigCheck.wasm";
const CANON_ADDR_SIG_CHECK_ZKEY_PATH = "https://frontend-sdk-circuit-artifacts.s3.us-east-2.amazonaws.com/canonAddrSigCheck/canonAddrSigCheck.zkey";

export interface NocturneSdkOptions {
networkName?: SupportedNetwork;
Expand Down

0 comments on commit d3e3511

Please sign in to comment.