Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ members = [
"pk_generation",
"pk_aggregation",
"share_decryption",
"decrypted_shares_aggregation",
"user_data_encryption"
"decrypted_shares_aggregation"
]
1 change: 1 addition & 0 deletions circuits/bin/threshold/Nargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"pk_generation",
"pk_aggregation",
"user_data_encryption",
"user_data_encryption_ct0",
"user_data_encryption_ct1",
"share_decryption",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ type = "bin"
authors = ["Gnosis Guild / Enclave"]

[dependencies]
lib = { path = "../../../../../lib" }
lib = { path = "../../../lib" }
bb_proof_verification = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v3.0.0-nightly.20260102", directory = "barretenberg/noir/bb_proof_verification" }
2 changes: 1 addition & 1 deletion examples/CRISP/packages/crisp-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"compile:circuits": "pnpm compile:crisp && pnpm compile:user_data_encryption_ct0 && pnpm compile:user_data_encryption_ct1 && pnpm compile:user_data_encryption && pnpm compile:fold",
"compile:user_data_encryption_ct0": "cd ../../../../circuits/bin/threshold/user_data_encryption_ct0 && nargo compile",
"compile:user_data_encryption_ct1": "cd ../../../../circuits/bin/threshold/user_data_encryption_ct1 && nargo compile",
"compile:user_data_encryption": "cd ../../../../circuits/bin/recursive_aggregation/wrapper/threshold/user_data_encryption && nargo compile",
"compile:user_data_encryption": "cd ../../../../circuits/bin/threshold/user_data_encryption && nargo compile",
"compile:crisp": "cd ../../circuits/bin/crisp && nargo compile",
"compile:fold": "cd ../../circuits/bin/fold && nargo compile",
"build:wasm": "pnpm -C ../crisp-zk-inputs build",
Expand Down
2 changes: 1 addition & 1 deletion examples/CRISP/packages/crisp-sdk/src/vote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import crispCircuit from '../../../circuits/bin/crisp/target/crisp.json'
import foldCircuit from '../../../circuits/bin/fold/target/crisp_fold.json'
import userDataEncryptionCt0Circuit from '../../../../../circuits/bin/threshold/target/user_data_encryption_ct0.json'
import userDataEncryptionCt1Circuit from '../../../../../circuits/bin/threshold/target/user_data_encryption_ct1.json'
import userDataEncryptionCircuit from '../../../../../circuits/bin/recursive_aggregation/wrapper/threshold/target/user_data_encryption.json'
import userDataEncryptionCircuit from '../../../../../circuits/bin/threshold/target/user_data_encryption.json'
import { bytesToHex, encodeAbiParameters, parseAbiParameters, numberToHex, getAddress } from 'viem/utils'
import { Hex } from 'viem'

Expand Down
2 changes: 1 addition & 1 deletion examples/CRISP/scripts/compile_circuits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if ! (cd "$ENCLAVE_CIRCUITS/bin/threshold/user_data_encryption_ct1" && nargo com
fi

echo "Compiling user_data_encryption..."
if ! (cd "$ENCLAVE_CIRCUITS/bin/recursive_aggregation/wrapper/threshold/user_data_encryption" && nargo compile); then
if ! (cd "$ENCLAVE_CIRCUITS/bin/threshold/user_data_encryption" && nargo compile); then
echo "Error: user_data_encryption compilation failed"
exit 1
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ describe("E3 Integration - Refund/Timeout Mechanism", function () {
const { mockCircuitVerifier } = await ignition.deploy(
MockCircuitVerifierModule,
);
const circuitVerifier = MockCircuitVerifierFactory.connect(
const _circuitVerifier = MockCircuitVerifierFactory.connect(
await mockCircuitVerifier.getAddress(),
owner,
);
Expand Down Expand Up @@ -415,7 +415,7 @@ describe("E3 Integration - Refund/Timeout Mechanism", function () {
bondingRegistry,
registry,
slashingManager: slashingManagerTyped,
circuitVerifier,
_circuitVerifier,
usdcToken,
enclToken,
e3Program,
Expand Down
2 changes: 1 addition & 1 deletion packages/enclave-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"compile:circuits": "pnpm compile:user_data_encryption_ct0 && pnpm compile:user_data_encryption_ct1 && pnpm compile:user_data_encryption",
"compile:user_data_encryption_ct0": "cd ../../circuits/bin/threshold/user_data_encryption_ct0 && nargo compile",
"compile:user_data_encryption_ct1": "cd ../../circuits/bin/threshold/user_data_encryption_ct1 && nargo compile",
"compile:user_data_encryption": "cd ../../circuits/bin/recursive_aggregation/wrapper/threshold/user_data_encryption && nargo compile",
"compile:user_data_encryption": "cd ../../circuits/bin/threshold/user_data_encryption && nargo compile",
"prebuild": "pnpm -C ../enclave-contracts build && pnpm -C ../../ wasm:build && pnpm compile:circuits",
"build": "tsup",
"dev": "tsup --watch",
Expand Down
2 changes: 1 addition & 1 deletion packages/enclave-sdk/src/crypto/user-data-encryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { Barretenberg, UltraHonkBackend, type ProofData } from '@aztec/bb.js'
import userDataEncryptionCt0Circuit from '../../../../circuits/bin/threshold/target/user_data_encryption_ct0.json'
import userDataEncryptionCt1Circuit from '../../../../circuits/bin/threshold/target/user_data_encryption_ct1.json'
import userDataEncryptionCircuit from '../../../../circuits/bin/recursive_aggregation/wrapper/threshold/target/user_data_encryption.json'
import userDataEncryptionCircuit from '../../../../circuits/bin/threshold/target/user_data_encryption.json'
import { CompiledCircuit, Noir } from '@noir-lang/noir_js'
import { proofToFields } from '../utils'

Expand Down
Loading