@aztec/bb-prover 0.74.0 → 0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/avm_proving_tests/avm_proving_tester.js +12 -11
- package/dest/bb/cli.js +4 -9
- package/dest/bb/execute.js +395 -267
- package/dest/bb/index.js +4 -6
- package/dest/config.js +1 -2
- package/dest/honk.js +8 -5
- package/dest/index.js +0 -1
- package/dest/instrumentation.js +44 -41
- package/dest/prover/bb_native_private_kernel_prover.js +19 -19
- package/dest/prover/bb_private_kernel_prover.js +11 -11
- package/dest/prover/bb_prover.js +431 -445
- package/dest/prover/client_ivc_proof_utils.js +15 -9
- package/dest/prover/index.js +0 -1
- package/dest/stats.js +15 -14
- package/dest/test/index.js +0 -1
- package/dest/test/test_circuit_prover.js +156 -160
- package/dest/test/test_verifier.js +0 -1
- package/dest/verification_key/verification_key_data.js +10 -8
- package/dest/verifier/bb_verifier.js +13 -13
- package/dest/verifier/index.js +0 -1
- package/dest/wasm/bb_wasm_private_kernel_prover.js +11 -10
- package/dest/wasm/bundle.js +1 -2
- package/dest/wasm/lazy.js +1 -2
- package/package.json +10 -10
- package/dest/avm_proving_tests/avm_proving_tester.d.ts +0 -24
- package/dest/avm_proving_tests/avm_proving_tester.d.ts.map +0 -1
- package/dest/bb/cli.d.ts +0 -12
- package/dest/bb/cli.d.ts.map +0 -1
- package/dest/bb/execute.d.ts +0 -170
- package/dest/bb/execute.d.ts.map +0 -1
- package/dest/bb/index.d.ts +0 -3
- package/dest/bb/index.d.ts.map +0 -1
- package/dest/config.d.ts +0 -13
- package/dest/config.d.ts.map +0 -1
- package/dest/honk.d.ts +0 -13
- package/dest/honk.d.ts.map +0 -1
- package/dest/index.d.ts +0 -8
- package/dest/index.d.ts.map +0 -1
- package/dest/instrumentation.d.ts +0 -47
- package/dest/instrumentation.d.ts.map +0 -1
- package/dest/prover/bb_native_private_kernel_prover.d.ts +0 -25
- package/dest/prover/bb_native_private_kernel_prover.d.ts.map +0 -1
- package/dest/prover/bb_private_kernel_prover.d.ts +0 -31
- package/dest/prover/bb_private_kernel_prover.d.ts.map +0 -1
- package/dest/prover/bb_prover.d.ts +0 -123
- package/dest/prover/bb_prover.d.ts.map +0 -1
- package/dest/prover/client_ivc_proof_utils.d.ts +0 -25
- package/dest/prover/client_ivc_proof_utils.d.ts.map +0 -1
- package/dest/prover/index.d.ts +0 -4
- package/dest/prover/index.d.ts.map +0 -1
- package/dest/stats.d.ts +0 -5
- package/dest/stats.d.ts.map +0 -1
- package/dest/test/index.d.ts +0 -3
- package/dest/test/index.d.ts.map +0 -1
- package/dest/test/test_circuit_prover.d.ts +0 -72
- package/dest/test/test_circuit_prover.d.ts.map +0 -1
- package/dest/test/test_verifier.d.ts +0 -5
- package/dest/test/test_verifier.d.ts.map +0 -1
- package/dest/verification_key/verification_key_data.d.ts +0 -9
- package/dest/verification_key/verification_key_data.d.ts.map +0 -1
- package/dest/verifier/bb_verifier.d.ts +0 -15
- package/dest/verifier/bb_verifier.d.ts.map +0 -1
- package/dest/verifier/index.d.ts +0 -2
- package/dest/verifier/index.d.ts.map +0 -1
- package/dest/wasm/bb_wasm_private_kernel_prover.d.ts +0 -16
- package/dest/wasm/bb_wasm_private_kernel_prover.d.ts.map +0 -1
- package/dest/wasm/bundle.d.ts +0 -6
- package/dest/wasm/bundle.d.ts.map +0 -1
- package/dest/wasm/lazy.d.ts +0 -6
- package/dest/wasm/lazy.d.ts.map +0 -1
|
@@ -6,26 +6,27 @@ import { serializeWitness } from '@noir-lang/noirc_abi';
|
|
|
6
6
|
import { ungzip } from 'pako';
|
|
7
7
|
import { BBPrivateKernelProver } from '../prover/bb_private_kernel_prover.js';
|
|
8
8
|
export class BBWASMPrivateKernelProver extends BBPrivateKernelProver {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.log = log;
|
|
9
|
+
artifactProvider;
|
|
10
|
+
simulationProvider;
|
|
11
|
+
threads;
|
|
12
|
+
log;
|
|
13
|
+
constructor(artifactProvider, simulationProvider, threads = 1, log = createLogger('bb-prover:wasm')){
|
|
14
|
+
super(artifactProvider, simulationProvider, log), this.artifactProvider = artifactProvider, this.simulationProvider = simulationProvider, this.threads = threads, this.log = log;
|
|
15
15
|
}
|
|
16
16
|
async createClientIvcProof(acirs, witnessStack) {
|
|
17
17
|
const timer = new Timer();
|
|
18
18
|
this.log.info(`Generating ClientIVC proof...`);
|
|
19
|
-
const backend = new AztecClientBackend(acirs.map(acir
|
|
20
|
-
|
|
19
|
+
const backend = new AztecClientBackend(acirs.map((acir)=>ungzip(acir)), {
|
|
20
|
+
threads: this.threads
|
|
21
|
+
});
|
|
22
|
+
const [proof, vk] = await backend.prove(witnessStack.map((witnessMap)=>ungzip(serializeWitness(witnessMap))));
|
|
21
23
|
await backend.destroy();
|
|
22
24
|
this.log.info(`Generated ClientIVC proof`, {
|
|
23
25
|
eventName: 'client-ivc-proof-generation',
|
|
24
26
|
duration: timer.ms(),
|
|
25
27
|
proofSize: proof.length,
|
|
26
|
-
vkSize: vk.length
|
|
28
|
+
vkSize: vk.length
|
|
27
29
|
});
|
|
28
30
|
return new ClientIvcProof(Buffer.from(proof), Buffer.from(vk));
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmJfd2FzbV9wcml2YXRlX2tlcm5lbF9wcm92ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FzbS9iYl93YXNtX3ByaXZhdGVfa2VybmVsX3Byb3Zlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDbEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUF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sRUFBRSxJQUFJLENBQUMsT0FBTyxFQUFFLENBQzFCLENBQUM7UUFFRixNQUFNLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxHQUFHLE1BQU0sT0FBTyxDQUFDLEtBQUssQ0FBQyxZQUFZLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxFQUFFLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzlHLE1BQU0sT0FBTyxDQUFDLE9BQU8sRUFBRSxDQUFDO1FBQ3hCLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLDJCQUEyQixFQUFFO1lBQ3pDLFNBQVMsRUFBRSw2QkFBNkI7WUFDeEMsUUFBUSxFQUFFLEtBQUssQ0FBQyxFQUFFLEVBQUU7WUFDcEIsU0FBUyxFQUFFLEtBQUssQ0FBQyxNQUFNO1lBQ3ZCLE1BQU0sRUFBRSxFQUFFLENBQUMsTUFBTTtTQUNsQixDQUFDLENBQUM7UUFDSCxPQUFPLElBQUksY0FBYyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLEVBQUUsTUFBTSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ2pFLENBQUM7Q0FDRiJ9
|
package/dest/wasm/bundle.js
CHANGED
|
@@ -2,8 +2,7 @@ import { createLogger } from '@aztec/foundation/log';
|
|
|
2
2
|
import { BundleArtifactProvider } from '@aztec/noir-protocol-circuits-types/client/bundle';
|
|
3
3
|
import { BBWASMPrivateKernelProver } from './bb_wasm_private_kernel_prover.js';
|
|
4
4
|
export class BBWASMBundlePrivateKernelProver extends BBWASMPrivateKernelProver {
|
|
5
|
-
constructor(simulationProvider, threads = 1, log = createLogger('bb-prover:wasm:bundle'))
|
|
5
|
+
constructor(simulationProvider, threads = 1, log = createLogger('bb-prover:wasm:bundle')){
|
|
6
6
|
super(new BundleArtifactProvider(), simulationProvider, threads, log);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVuZGxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3dhc20vYnVuZGxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUczRixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUUvRSxNQUFNLE9BQU8sK0JBQWdDLFNBQVEseUJBQXlCO0lBQzVFLFlBQVksa0JBQXNDLEVBQUUsT0FBTyxHQUFHLENBQUMsRUFBRSxHQUFHLEdBQUcsWUFBWSxDQUFDLHVCQUF1QixDQUFDO1FBQzFHLEtBQUssQ0FBQyxJQUFJLHNCQUFzQixFQUFFLEVBQUUsa0JBQWtCLEVBQUUsT0FBTyxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBQ3hFLENBQUM7Q0FDRiJ9
|
package/dest/wasm/lazy.js
CHANGED
|
@@ -2,8 +2,7 @@ import { createLogger } from '@aztec/foundation/log';
|
|
|
2
2
|
import { LazyArtifactProvider } from '@aztec/noir-protocol-circuits-types/client/lazy';
|
|
3
3
|
import { BBWASMPrivateKernelProver } from './bb_wasm_private_kernel_prover.js';
|
|
4
4
|
export class BBWASMLazyPrivateKernelProver extends BBWASMPrivateKernelProver {
|
|
5
|
-
constructor(simulationProvider, threads = 1, log = createLogger('bb-prover:wasm:lazy'))
|
|
5
|
+
constructor(simulationProvider, threads = 1, log = createLogger('bb-prover:wasm:lazy')){
|
|
6
6
|
super(new LazyArtifactProvider(), simulationProvider, threads, log);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy93YXNtL2xhenkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3JELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlEQUFpRCxDQUFDO0FBR3ZGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBRS9FLE1BQU0sT0FBTyw2QkFBOEIsU0FBUSx5QkFBeUI7SUFDMUUsWUFBWSxrQkFBc0MsRUFBRSxPQUFPLEdBQUcsQ0FBQyxFQUFFLEdBQUcsR0FBRyxZQUFZLENBQUMscUJBQXFCLENBQUM7UUFDeEcsS0FBSyxDQUFDLElBQUksb0JBQW9CLEVBQUUsRUFBRSxrQkFBa0IsRUFBRSxPQUFPLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFDdEUsQ0FBQztDQUNGIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/bb-prover",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"formatting": "run -T prettier --check ./src && run -T eslint ./src",
|
|
32
32
|
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
|
|
33
33
|
"bb": "node --no-warnings ./dest/bb/index.js",
|
|
34
|
-
"test": "
|
|
34
|
+
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --maxWorkers=${JEST_MAX_WORKERS:-8}"
|
|
35
35
|
},
|
|
36
36
|
"jest": {
|
|
37
37
|
"moduleNameMapper": {
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@aztec/bb.js": "0.
|
|
71
|
-
"@aztec/circuit-types": "0.
|
|
72
|
-
"@aztec/circuits.js": "0.
|
|
73
|
-
"@aztec/foundation": "0.
|
|
74
|
-
"@aztec/noir-protocol-circuits-types": "0.
|
|
75
|
-
"@aztec/simulator": "0.
|
|
76
|
-
"@aztec/telemetry-client": "0.
|
|
77
|
-
"@aztec/world-state": "0.
|
|
70
|
+
"@aztec/bb.js": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
71
|
+
"@aztec/circuit-types": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
72
|
+
"@aztec/circuits.js": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
73
|
+
"@aztec/foundation": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
74
|
+
"@aztec/noir-protocol-circuits-types": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
75
|
+
"@aztec/simulator": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
76
|
+
"@aztec/telemetry-client": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
77
|
+
"@aztec/world-state": "0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2",
|
|
78
78
|
"@msgpack/msgpack": "^3.0.0-beta2",
|
|
79
79
|
"@noir-lang/noirc_abi": "portal:../../noir/packages/noirc_abi",
|
|
80
80
|
"@noir-lang/types": "portal:../../noir/packages/types",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type MerkleTreeWriteOperations } from '@aztec/circuit-types';
|
|
2
|
-
import { type AvmCircuitInputs, AztecAddress } from '@aztec/circuits.js';
|
|
3
|
-
import { PublicTxSimulationTester, type TestEnqueuedCall } from '@aztec/simulator/public/fixtures';
|
|
4
|
-
import { SimpleContractDataSource } from '../../../simulator/src/avm/fixtures/simple_contract_data_source.js';
|
|
5
|
-
import { type BBResult, type BBSuccess } from '../bb/execute.js';
|
|
6
|
-
export declare class AvmProvingTester extends PublicTxSimulationTester {
|
|
7
|
-
private bbWorkingDirectory;
|
|
8
|
-
private checkCircuitOnly;
|
|
9
|
-
constructor(bbWorkingDirectory: string, checkCircuitOnly: boolean, contractDataSource: SimpleContractDataSource, merkleTrees: MerkleTreeWriteOperations, skipContractDeployments: boolean);
|
|
10
|
-
static create(checkCircuitOnly?: boolean, skipContractDeployments?: boolean): Promise<AvmProvingTester>;
|
|
11
|
-
prove(avmCircuitInputs: AvmCircuitInputs): Promise<BBResult>;
|
|
12
|
-
verify(proofRes: BBSuccess): Promise<BBResult>;
|
|
13
|
-
simProveVerify(sender: AztecAddress, setupCalls: TestEnqueuedCall[], appCalls: TestEnqueuedCall[], teardownCall: TestEnqueuedCall | undefined, expectRevert: boolean | undefined, feePayer?: AztecAddress): Promise<void>;
|
|
14
|
-
simProveVerifyAppLogic(appCall: TestEnqueuedCall, expectRevert?: boolean): Promise<void>;
|
|
15
|
-
}
|
|
16
|
-
export declare class AvmProvingTesterV2 extends PublicTxSimulationTester {
|
|
17
|
-
private bbWorkingDirectory;
|
|
18
|
-
constructor(bbWorkingDirectory: string, contractDataSource: SimpleContractDataSource, merkleTrees: MerkleTreeWriteOperations, skipContractDeployments: boolean);
|
|
19
|
-
static create(skipContractDeployments?: boolean): Promise<AvmProvingTesterV2>;
|
|
20
|
-
proveV2(avmCircuitInputs: AvmCircuitInputs): Promise<BBResult>;
|
|
21
|
-
verifyV2(proofRes: BBSuccess): Promise<BBResult>;
|
|
22
|
-
simProveVerifyV2(sender: AztecAddress, setupCalls: TestEnqueuedCall[], appCalls: TestEnqueuedCall[], teardownCall: TestEnqueuedCall | undefined, expectRevert: boolean | undefined, feePayer?: AztecAddress): Promise<void>;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=avm_proving_tester.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avm_proving_tester.d.ts","sourceRoot":"","sources":["../../src/avm_proving_tests/avm_proving_tester.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,KAAK,gBAAgB,EAAE,YAAY,EAAuB,MAAM,oBAAoB,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,KAAK,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAOnG,OAAO,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AAC9G,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,SAAS,EAMf,MAAM,kBAAkB,CAAC;AAK1B,qBAAa,gBAAiB,SAAQ,wBAAwB;IAE1D,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,gBAAgB;gBADhB,kBAAkB,EAAE,MAAM,EAC1B,gBAAgB,EAAE,OAAO,EACjC,kBAAkB,EAAE,wBAAwB,EAC5C,WAAW,EAAE,yBAAyB,EACtC,uBAAuB,EAAE,OAAO;WAKZ,MAAM,CAAC,gBAAgB,GAAE,OAAe,EAAE,uBAAuB,GAAE,OAAe;IAclG,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC;IAe5D,MAAM,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;IAgBvC,cAAc,CACzB,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,gBAAgB,EAAE,EAC9B,QAAQ,EAAE,gBAAgB,EAAE,EAC5B,YAAY,EAAE,gBAAgB,GAAG,SAAS,EAC1C,YAAY,EAAE,OAAO,GAAG,SAAS,EACjC,QAAQ,CAAC,EAAE,YAAY;IAWZ,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,CAAC,EAAE,OAAO;CAWtF;AAED,qBAAa,kBAAmB,SAAQ,wBAAwB;IAE5D,OAAO,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,MAAM,EAClC,kBAAkB,EAAE,wBAAwB,EAC5C,WAAW,EAAE,yBAAyB,EACtC,uBAAuB,EAAE,OAAO;WAKZ,MAAM,CAAC,uBAAuB,GAAE,OAAe;IAQ/D,OAAO,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC;IAU9D,QAAQ,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;IAkBzC,gBAAgB,CAC3B,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,gBAAgB,EAAE,EAC9B,QAAQ,EAAE,gBAAgB,EAAE,EAC5B,YAAY,EAAE,gBAAgB,GAAG,SAAS,EAC1C,YAAY,EAAE,OAAO,GAAG,SAAS,EACjC,QAAQ,CAAC,EAAE,YAAY;CAY1B"}
|
package/dest/bb/cli.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type LogFn } from '@aztec/foundation/log';
|
|
2
|
-
import { type ProtocolArtifact } from '@aztec/noir-protocol-circuits-types/types';
|
|
3
|
-
import { type NoirCompiledCircuit } from '@aztec/types/noir';
|
|
4
|
-
import { Command } from 'commander';
|
|
5
|
-
export declare const ProtocolCircuitArtifacts: Record<ProtocolArtifact, NoirCompiledCircuit>;
|
|
6
|
-
/**
|
|
7
|
-
* Returns commander program that defines the CLI.
|
|
8
|
-
* @param log - Console logger.
|
|
9
|
-
* @returns The CLI.
|
|
10
|
-
*/
|
|
11
|
-
export declare function getProgram(log: LogFn): Command;
|
|
12
|
-
//# sourceMappingURL=cli.d.ts.map
|
package/dest/bb/cli.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/bb/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAGlF,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,KAAK,GAAG,OAAO,CAa9C"}
|
package/dest/bb/execute.d.ts
DELETED
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
-
import { type AvmCircuitInputs } from '@aztec/circuits.js';
|
|
4
|
-
import { type LogFn, type Logger } from '@aztec/foundation/log';
|
|
5
|
-
import { type UltraHonkFlavor } from '../honk.js';
|
|
6
|
-
export declare const VK_FILENAME = "vk";
|
|
7
|
-
export declare const VK_FIELDS_FILENAME = "vk_fields.json";
|
|
8
|
-
export declare const PROOF_FILENAME = "proof";
|
|
9
|
-
export declare const PROOF_FIELDS_FILENAME = "proof_fields.json";
|
|
10
|
-
export declare const AVM_BYTECODE_FILENAME = "avm_bytecode.bin";
|
|
11
|
-
export declare const AVM_PUBLIC_INPUTS_FILENAME = "avm_public_inputs.bin";
|
|
12
|
-
export declare const AVM_HINTS_FILENAME = "avm_hints.bin";
|
|
13
|
-
export declare enum BB_RESULT {
|
|
14
|
-
SUCCESS = 0,
|
|
15
|
-
FAILURE = 1,
|
|
16
|
-
ALREADY_PRESENT = 2
|
|
17
|
-
}
|
|
18
|
-
export type BBSuccess = {
|
|
19
|
-
status: BB_RESULT.SUCCESS | BB_RESULT.ALREADY_PRESENT;
|
|
20
|
-
durationMs: number;
|
|
21
|
-
/** Full path of the public key. */
|
|
22
|
-
pkPath?: string;
|
|
23
|
-
/** Base directory for the VKs (raw, fields). */
|
|
24
|
-
vkPath?: string;
|
|
25
|
-
/** Full path of the proof. */
|
|
26
|
-
proofPath?: string;
|
|
27
|
-
/** Full path of the contract. */
|
|
28
|
-
contractPath?: string;
|
|
29
|
-
/** The number of gates in the circuit. */
|
|
30
|
-
circuitSize?: number;
|
|
31
|
-
};
|
|
32
|
-
export type BBFailure = {
|
|
33
|
-
status: BB_RESULT.FAILURE;
|
|
34
|
-
reason: string;
|
|
35
|
-
retry?: boolean;
|
|
36
|
-
};
|
|
37
|
-
export type BBResult = BBSuccess | BBFailure;
|
|
38
|
-
export type VerificationFunction = typeof verifyProof | typeof verifyAvmProof;
|
|
39
|
-
type BBExecResult = {
|
|
40
|
-
status: BB_RESULT;
|
|
41
|
-
exitCode: number;
|
|
42
|
-
signal: string | undefined;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Invokes the Barretenberg binary with the provided command and args
|
|
46
|
-
* @param pathToBB - The path to the BB binary
|
|
47
|
-
* @param command - The command to execute
|
|
48
|
-
* @param args - The arguments to pass
|
|
49
|
-
* @param logger - A log function
|
|
50
|
-
* @param resultParser - An optional handler for detecting success or failure
|
|
51
|
-
* @returns The completed partial witness outputted from the circuit
|
|
52
|
-
*/
|
|
53
|
-
export declare function executeBB(pathToBB: string, command: string, args: string[], logger: LogFn, resultParser?: (code: number) => boolean): Promise<BBExecResult>;
|
|
54
|
-
export declare function executeBbClientIvcProof(pathToBB: string, workingDirectory: string, bytecodeStackPath: string, witnessStackPath: string, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
55
|
-
/**
|
|
56
|
-
* Used for generating verification keys of noir circuits.
|
|
57
|
-
* It is assumed that the working directory is a temporary and/or random directory used solely for generating this VK.
|
|
58
|
-
* @param pathToBB - The full path to the bb binary
|
|
59
|
-
* @param workingDirectory - A working directory for use by bb
|
|
60
|
-
* @param circuitName - An identifier for the circuit
|
|
61
|
-
* @param bytecode - The compiled circuit bytecode
|
|
62
|
-
* @param inputWitnessFile - The circuit input witness
|
|
63
|
-
* @param log - A logging function
|
|
64
|
-
* @returns An object containing a result indication, the location of the VK and the duration taken
|
|
65
|
-
*/
|
|
66
|
-
export declare function computeVerificationKey(pathToBB: string, workingDirectory: string, circuitName: string, bytecode: Buffer, recursive: boolean, flavor: UltraHonkFlavor | 'mega_honk', log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
67
|
-
/**
|
|
68
|
-
* Used for generating proofs of noir circuits.
|
|
69
|
-
* It is assumed that the working directory is a temporary and/or random directory used solely for generating this proof.
|
|
70
|
-
* @param pathToBB - The full path to the bb binary
|
|
71
|
-
* @param workingDirectory - A working directory for use by bb
|
|
72
|
-
* @param circuitName - An identifier for the circuit
|
|
73
|
-
* @param bytecode - The compiled circuit bytecode
|
|
74
|
-
* @param inputWitnessFile - The circuit input witness
|
|
75
|
-
* @param log - A logging function
|
|
76
|
-
* @returns An object containing a result indication, the location of the proof and the duration taken
|
|
77
|
-
*/
|
|
78
|
-
export declare function generateProof(pathToBB: string, workingDirectory: string, circuitName: string, bytecode: Buffer, recursive: boolean, inputWitnessFile: string, flavor: UltraHonkFlavor, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
79
|
-
/**
|
|
80
|
-
* Used for generating proofs of the tube circuit
|
|
81
|
-
* It is assumed that the working directory is a temporary and/or random directory used solely for generating this proof.
|
|
82
|
-
* @param pathToBB - The full path to the bb binary
|
|
83
|
-
* @param workingDirectory - A working directory for use by bb
|
|
84
|
-
* @param circuitName - An identifier for the circuit
|
|
85
|
-
* @param bytecode - The compiled circuit bytecode
|
|
86
|
-
* @param inputWitnessFile - The circuit input witness
|
|
87
|
-
* @param log - A logging function
|
|
88
|
-
* @returns An object containing a result indication, the location of the proof and the duration taken
|
|
89
|
-
*/
|
|
90
|
-
export declare function generateTubeProof(pathToBB: string, workingDirectory: string, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
91
|
-
/**
|
|
92
|
-
* Used for generating AVM proofs.
|
|
93
|
-
* It is assumed that the working directory is a temporary and/or random directory used solely for generating this proof.
|
|
94
|
-
* @param pathToBB - The full path to the bb binary
|
|
95
|
-
* @param workingDirectory - A working directory for use by bb
|
|
96
|
-
* @param input - The inputs for the public function to be proven
|
|
97
|
-
* @param log - A logging function
|
|
98
|
-
* @returns An object containing a result indication, the location of the proof and the duration taken
|
|
99
|
-
*/
|
|
100
|
-
export declare function generateAvmProofV2(pathToBB: string, workingDirectory: string, input: AvmCircuitInputs, logger: Logger): Promise<BBFailure | BBSuccess>;
|
|
101
|
-
/**
|
|
102
|
-
* Used for generating AVM proofs (or doing check-circuit).
|
|
103
|
-
* It is assumed that the working directory is a temporary and/or random directory used solely for generating this proof.
|
|
104
|
-
* @param pathToBB - The full path to the bb binary
|
|
105
|
-
* @param workingDirectory - A working directory for use by bb
|
|
106
|
-
* @param bytecode - The AVM bytecode for the public function to be proven (expected to be decompressed)
|
|
107
|
-
* @param log - A logging function
|
|
108
|
-
* @returns An object containing a result indication, the location of the proof and the duration taken
|
|
109
|
-
*/
|
|
110
|
-
export declare function generateAvmProof(pathToBB: string, workingDirectory: string, input: AvmCircuitInputs, logger: Logger, checkCircuitOnly?: boolean): Promise<BBFailure | BBSuccess>;
|
|
111
|
-
/**
|
|
112
|
-
* Used for verifying proofs of noir circuits
|
|
113
|
-
* @param pathToBB - The full path to the bb binary
|
|
114
|
-
* @param proofFullPath - The full path to the proof to be verified
|
|
115
|
-
* @param verificationKeyPath - The full path to the circuit verification key
|
|
116
|
-
* @param log - A logging function
|
|
117
|
-
* @returns An object containing a result indication and duration taken
|
|
118
|
-
*/
|
|
119
|
-
export declare function verifyProof(pathToBB: string, proofFullPath: string, verificationKeyPath: string, ultraHonkFlavor: UltraHonkFlavor, log: Logger): Promise<BBFailure | BBSuccess>;
|
|
120
|
-
/**
|
|
121
|
-
* Used for verifying proofs of the AVM
|
|
122
|
-
* @param pathToBB - The full path to the bb binary
|
|
123
|
-
* @param proofFullPath - The full path to the proof to be verified
|
|
124
|
-
* @param verificationKeyPath - The full path to the circuit verification key
|
|
125
|
-
* @param log - A logging function
|
|
126
|
-
* @returns An object containing a result indication and duration taken
|
|
127
|
-
*/
|
|
128
|
-
export declare function verifyAvmProof(pathToBB: string, proofFullPath: string, verificationKeyPath: string, logger: Logger): Promise<BBFailure | BBSuccess>;
|
|
129
|
-
export declare function verifyAvmProofV2(pathToBB: string, workingDirectory: string, proofFullPath: string, publicInputs: any, verificationKeyPath: string, logger: Logger): Promise<BBFailure | BBSuccess>;
|
|
130
|
-
/**
|
|
131
|
-
* Verifies a ClientIvcProof
|
|
132
|
-
* TODO(#7370) The verification keys should be supplied separately
|
|
133
|
-
* @param pathToBB - The full path to the bb binary
|
|
134
|
-
* @param targetPath - The path to the folder with the proof, accumulator, and verification keys
|
|
135
|
-
* @param log - A logging function
|
|
136
|
-
* @returns An object containing a result indication and duration taken
|
|
137
|
-
*/
|
|
138
|
-
export declare function verifyClientIvcProof(pathToBB: string, targetPath: string, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
139
|
-
/**
|
|
140
|
-
* Used for verifying proofs of noir circuits
|
|
141
|
-
* @param pathToBB - The full path to the bb binary
|
|
142
|
-
* @param verificationKeyPath - The directory containing the binary verification key
|
|
143
|
-
* @param verificationKeyFilename - The filename of the verification key
|
|
144
|
-
* @param log - A logging function
|
|
145
|
-
* @returns An object containing a result indication and duration taken
|
|
146
|
-
*/
|
|
147
|
-
export declare function writeVkAsFields(pathToBB: string, verificationKeyPath: string, verificationKeyFilename: string, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
148
|
-
/**
|
|
149
|
-
* Used for verifying proofs of noir circuits
|
|
150
|
-
* @param pathToBB - The full path to the bb binary
|
|
151
|
-
* @param proofPath - The directory containing the binary proof
|
|
152
|
-
* @param proofFileName - The filename of the proof
|
|
153
|
-
* @param vkFileName - The filename of the verification key
|
|
154
|
-
* @param log - A logging function
|
|
155
|
-
* @returns An object containing a result indication and duration taken
|
|
156
|
-
*/
|
|
157
|
-
export declare function writeProofAsFields(pathToBB: string, proofPath: string, proofFileName: string, vkFilePath: string, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
158
|
-
export declare function generateContractForVerificationKey(pathToBB: string, vkFilePath: string, contractPath: string, log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
159
|
-
/**
|
|
160
|
-
* Compute bb gate count for a given circuit
|
|
161
|
-
* @param pathToBB - The full path to the bb binary
|
|
162
|
-
* @param workingDirectory - A temporary directory for writing the bytecode
|
|
163
|
-
* @param circuitName - The name of the circuit
|
|
164
|
-
* @param bytecode - The bytecode of the circuit
|
|
165
|
-
* @param flavor - The flavor of the backend - mega_honk or ultra_honk variants
|
|
166
|
-
* @returns An object containing the status, gate count, and time taken
|
|
167
|
-
*/
|
|
168
|
-
export declare function computeGateCountForCircuit(pathToBB: string, workingDirectory: string, circuitName: string, bytecode: Buffer, flavor: UltraHonkFlavor | 'mega_honk', log: LogFn): Promise<BBFailure | BBSuccess>;
|
|
169
|
-
export {};
|
|
170
|
-
//# sourceMappingURL=execute.d.ts.map
|
package/dest/bb/execute.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../src/bb/execute.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,gBAAgB,EAA4B,MAAM,oBAAoB,CAAC;AAErF,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAOhE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlD,eAAO,MAAM,WAAW,OAAO,CAAC;AAChC,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,eAAO,MAAM,cAAc,UAAU,CAAC;AACtC,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;A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EAAE,KAAK,GACT,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CA0BhC;AAED,wBAAsB,kCAAkC,CACtD,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,KAAK,GACT,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CA8ChC;AAED;;;;;;;;GAQG;AACH,wBAAsB,0BAA0B,CAC9C,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,eAAe,GAAG,WAAW,EACrC,GAAG,EAAE,KAAK,GACT,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CA0DhC"}
|
package/dest/bb/index.d.ts
DELETED
package/dest/bb/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bb/index.ts"],"names":[],"mappings":";AAGA,OAAO,gCAAgC,CAAC"}
|
package/dest/config.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface BBConfig {
|
|
2
|
-
bbBinaryPath: string;
|
|
3
|
-
bbWorkingDirectory: string;
|
|
4
|
-
/** Whether to skip tmp dir cleanup for debugging purposes */
|
|
5
|
-
bbSkipCleanup: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface ACVMConfig {
|
|
8
|
-
/** The path to the ACVM binary */
|
|
9
|
-
acvmBinaryPath: string;
|
|
10
|
-
/** The working directory to use for simulation/proving */
|
|
11
|
-
acvmWorkingDirectory: string;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=config.d.ts.map
|
package/dest/config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,6DAA6D;IAC7D,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,kCAAkC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,oBAAoB,EAAE,MAAM,CAAC;CAC9B"}
|
package/dest/honk.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ServerProtocolArtifact } from '@aztec/noir-protocol-circuits-types/server';
|
|
2
|
-
export type UltraHonkFlavor = 'ultra_honk' | 'ultra_keccak_honk' | 'ultra_rollup_honk';
|
|
3
|
-
declare const UltraKeccakHonkCircuits: ["RootRollupArtifact"];
|
|
4
|
-
declare const UltraHonkCircuits: ["BaseParityArtifact", "RootParityArtifact"];
|
|
5
|
-
export type UltraKeccakHonkServerProtocolArtifact = (typeof UltraKeccakHonkCircuits)[number];
|
|
6
|
-
export type UltraHonkServerProtocolArtifact = (typeof UltraHonkCircuits)[number];
|
|
7
|
-
export type UltraRollupHonkServerProtocolArtifact = Exclude<Exclude<ServerProtocolArtifact, UltraKeccakHonkServerProtocolArtifact>, UltraHonkServerProtocolArtifact>;
|
|
8
|
-
export declare function getUltraHonkFlavorForCircuit(artifact: UltraKeccakHonkServerProtocolArtifact): 'ultra_keccak_honk';
|
|
9
|
-
export declare function getUltraHonkFlavorForCircuit(artifact: UltraHonkServerProtocolArtifact): 'ultra_honk';
|
|
10
|
-
export declare function getUltraHonkFlavorForCircuit(artifact: UltraRollupHonkServerProtocolArtifact): 'ultra_rollup_honk';
|
|
11
|
-
export declare function getUltraHonkFlavorForCircuit(artifact: ServerProtocolArtifact): UltraHonkFlavor;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=honk.d.ts.map
|
package/dest/honk.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"honk.d.ts","sourceRoot":"","sources":["../src/honk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEzF,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAEvF,QAAA,MAAM,uBAAuB,wBAAqE,CAAC;AACnG,QAAA,MAAM,iBAAiB,8CAA2F,CAAC;AAEnH,MAAM,MAAM,qCAAqC,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7F,MAAM,MAAM,+BAA+B,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AACjF,MAAM,MAAM,qCAAqC,GAAG,OAAO,CACzD,OAAO,CAAC,sBAAsB,EAAE,qCAAqC,CAAC,EACtE,+BAA+B,CAChC,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,qCAAqC,GAAG,mBAAmB,CAAC;AACnH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,+BAA+B,GAAG,YAAY,CAAC;AACtG,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,qCAAqC,GAAG,mBAAmB,CAAC;AACnH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,sBAAsB,GAAG,eAAe,CAAC"}
|
package/dest/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './prover/index.js';
|
|
2
|
-
export * from './test/index.js';
|
|
3
|
-
export * from './verifier/index.js';
|
|
4
|
-
export * from './config.js';
|
|
5
|
-
export * from './bb/execute.js';
|
|
6
|
-
export * from './honk.js';
|
|
7
|
-
export { type ClientProtocolCircuitVerifier } from '@aztec/circuit-types';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dest/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { type CircuitName } from '@aztec/circuit-types/stats';
|
|
2
|
-
import { type Timer } from '@aztec/foundation/timer';
|
|
3
|
-
import { type TelemetryClient, type Tracer } from '@aztec/telemetry-client';
|
|
4
|
-
/**
|
|
5
|
-
* Instrumentation class for Prover implementations.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ProverInstrumentation {
|
|
8
|
-
private simulationDuration;
|
|
9
|
-
private witGenDuration;
|
|
10
|
-
private provingDuration;
|
|
11
|
-
private witGenInputSize;
|
|
12
|
-
private witGenOutputSize;
|
|
13
|
-
private proofSize;
|
|
14
|
-
private circuitSize;
|
|
15
|
-
private circuitPublicInputCount;
|
|
16
|
-
readonly tracer: Tracer;
|
|
17
|
-
constructor(telemetry: TelemetryClient, name: string);
|
|
18
|
-
/**
|
|
19
|
-
* Records the duration of a circuit operation.
|
|
20
|
-
* @param metric - The metric to record
|
|
21
|
-
* @param circuitName - The name of the circuit
|
|
22
|
-
* @param timerOrMS - The duration
|
|
23
|
-
*/
|
|
24
|
-
recordDuration(metric: 'simulationDuration' | 'witGenDuration' | 'provingDuration', circuitName: CircuitName | 'tubeCircuit', timerOrMS: Timer | number): void;
|
|
25
|
-
/**
|
|
26
|
-
* Records the duration of an AVM circuit operation.
|
|
27
|
-
* @param metric - The metric to record
|
|
28
|
-
* @param appCircuitName - The name of the function circuit (should be a `contract:function` string)
|
|
29
|
-
* @param timerOrMS - The duration
|
|
30
|
-
*/
|
|
31
|
-
recordAvmDuration(metric: 'witGenDuration' | 'provingDuration', appCircuitName: string, timerOrMS: Timer | number): void;
|
|
32
|
-
/**
|
|
33
|
-
* Records the size of a circuit operation.
|
|
34
|
-
* @param metric - Records the size of a circuit operation.
|
|
35
|
-
* @param circuitName - The name of the circuit
|
|
36
|
-
* @param size - The size
|
|
37
|
-
*/
|
|
38
|
-
recordSize(metric: 'witGenInputSize' | 'witGenOutputSize' | 'proofSize' | 'circuitSize' | 'circuitPublicInputCount', circuitName: CircuitName | 'tubeCircuit', size: number): void;
|
|
39
|
-
/**
|
|
40
|
-
* Records the size of an AVM circuit operation.
|
|
41
|
-
* @param metric - The metric to record
|
|
42
|
-
* @param appCircuitName - The name of the function circuit (should be a `contract:function` string)
|
|
43
|
-
* @param size - The size
|
|
44
|
-
*/
|
|
45
|
-
recordAvmSize(metric: 'witGenInputSize' | 'witGenOutputSize' | 'proofSize' | 'circuitSize' | 'circuitPublicInputCount', appCircuitName: string, size: number): void;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=instrumentation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../src/instrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAKL,KAAK,eAAe,EACpB,KAAK,MAAM,EAEZ,MAAM,yBAAyB,CAAC;AAEjC;;GAEG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,kBAAkB,CAAY;IACtC,OAAO,CAAC,cAAc,CAAY;IAClC,OAAO,CAAC,eAAe,CAAY;IAEnC,OAAO,CAAC,eAAe,CAAQ;IAC/B,OAAO,CAAC,gBAAgB,CAAQ;IAEhC,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,uBAAuB,CAAQ;IAEvC,SAAgB,MAAM,EAAE,MAAM,CAAC;gBAEnB,SAAS,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM;IAmDpD;;;;;OAKG;IACH,cAAc,CACZ,MAAM,EAAE,oBAAoB,GAAG,gBAAgB,GAAG,iBAAiB,EACnE,WAAW,EAAE,WAAW,GAAG,aAAa,EACxC,SAAS,EAAE,KAAK,GAAG,MAAM;IAS3B;;;;;OAKG;IACH,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,iBAAiB,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,GAAG,MAAM;IAOjH;;;;;OAKG;IACH,UAAU,CACR,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,GAAG,WAAW,GAAG,aAAa,GAAG,yBAAyB,EACxG,WAAW,EAAE,WAAW,GAAG,aAAa,EACxC,IAAI,EAAE,MAAM;IAQd;;;;;OAKG;IACH,aAAa,CACX,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,GAAG,WAAW,GAAG,aAAa,GAAG,yBAAyB,EACxG,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,MAAM;CAMf"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
-
import { type ClientIvcProof } from '@aztec/circuits.js';
|
|
4
|
-
import { type Logger } from '@aztec/foundation/log';
|
|
5
|
-
import { type SimulationProvider } from '@aztec/simulator/server';
|
|
6
|
-
import { type WitnessMap } from '@noir-lang/types';
|
|
7
|
-
import { type BBConfig } from '../config.js';
|
|
8
|
-
import { BBPrivateKernelProver } from './bb_private_kernel_prover.js';
|
|
9
|
-
/**
|
|
10
|
-
* This proof creator implementation uses the native bb binary.
|
|
11
|
-
*/
|
|
12
|
-
export declare class BBNativePrivateKernelProver extends BBPrivateKernelProver {
|
|
13
|
-
private bbBinaryPath;
|
|
14
|
-
private bbWorkingDirectory;
|
|
15
|
-
private skipCleanup;
|
|
16
|
-
protected simulationProvider: SimulationProvider;
|
|
17
|
-
protected log: Logger;
|
|
18
|
-
private constructor();
|
|
19
|
-
static new(config: BBConfig, simulationProvider: SimulationProvider, log?: Logger): Promise<BBNativePrivateKernelProver>;
|
|
20
|
-
private _createClientIvcProof;
|
|
21
|
-
createClientIvcProof(acirs: Buffer[], witnessStack: WitnessMap[]): Promise<ClientIvcProof>;
|
|
22
|
-
computeGateCountForCircuit(bytecode: Buffer, circuitName: string): Promise<number>;
|
|
23
|
-
private runInDirectory;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=bb_native_private_kernel_prover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bb_native_private_kernel_prover.d.ts","sourceRoot":"","sources":["../../src/prover/bb_native_private_kernel_prover.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAIlE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAKnD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAGtE;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,qBAAqB;IAElE,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,WAAW;cACA,kBAAkB,EAAE,kBAAkB;cACtC,GAAG;IALxB,OAAO;WAUa,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,GAAG,CAAC,EAAE,MAAM;YAWhF,qBAAqB;IAmCb,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC;IAQ1F,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAoBxG,OAAO,CAAC,cAAc;CAYvB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
-
import { type PrivateKernelProver, type PrivateKernelSimulateOutput } from '@aztec/circuit-types';
|
|
4
|
-
import { type ClientIvcProof, type PrivateKernelCircuitPublicInputs, type PrivateKernelInitCircuitPrivateInputs, type PrivateKernelInnerCircuitPrivateInputs, type PrivateKernelResetCircuitPrivateInputs, type PrivateKernelTailCircuitPrivateInputs, type PrivateKernelTailCircuitPublicInputs } from '@aztec/circuits.js';
|
|
5
|
-
import { type ArtifactProvider, type ClientProtocolArtifact } from '@aztec/noir-protocol-circuits-types/types';
|
|
6
|
-
import { type SimulationProvider } from '@aztec/simulator/client';
|
|
7
|
-
import { type Abi, type WitnessMap } from '@noir-lang/types';
|
|
8
|
-
export declare abstract class BBPrivateKernelProver implements PrivateKernelProver {
|
|
9
|
-
protected artifactProvider: ArtifactProvider;
|
|
10
|
-
protected simulationProvider: SimulationProvider;
|
|
11
|
-
protected log: import("@aztec/foundation/log").Logger;
|
|
12
|
-
constructor(artifactProvider: ArtifactProvider, simulationProvider: SimulationProvider, log?: import("@aztec/foundation/log").Logger);
|
|
13
|
-
generateInitOutput(inputs: PrivateKernelInitCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelCircuitPublicInputs>>;
|
|
14
|
-
simulateInit(inputs: PrivateKernelInitCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelCircuitPublicInputs>>;
|
|
15
|
-
generateInnerOutput(inputs: PrivateKernelInnerCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelCircuitPublicInputs>>;
|
|
16
|
-
simulateInner(inputs: PrivateKernelInnerCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelCircuitPublicInputs>>;
|
|
17
|
-
generateResetOutput(inputs: PrivateKernelResetCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelCircuitPublicInputs>>;
|
|
18
|
-
simulateReset(inputs: PrivateKernelResetCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelCircuitPublicInputs>>;
|
|
19
|
-
generateTailOutput(inputs: PrivateKernelTailCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelTailCircuitPublicInputs>>;
|
|
20
|
-
simulateTail(inputs: PrivateKernelTailCircuitPrivateInputs): Promise<PrivateKernelSimulateOutput<PrivateKernelTailCircuitPublicInputs>>;
|
|
21
|
-
simulateCircuitOutput<I extends {
|
|
22
|
-
toBuffer: () => Buffer;
|
|
23
|
-
}, O extends PrivateKernelCircuitPublicInputs | PrivateKernelTailCircuitPublicInputs>(inputs: I, circuitType: ClientProtocolArtifact, convertInputs: (inputs: I, abi: Abi) => WitnessMap, convertOutputs: (outputs: WitnessMap, abi: Abi) => O): Promise<PrivateKernelSimulateOutput<O>>;
|
|
24
|
-
generateCircuitOutput<I extends {
|
|
25
|
-
toBuffer: () => Buffer;
|
|
26
|
-
}, O extends PrivateKernelCircuitPublicInputs | PrivateKernelTailCircuitPublicInputs>(inputs: I, circuitType: ClientProtocolArtifact, convertInputs: (inputs: I, abi: Abi) => WitnessMap, convertOutputs: (outputs: WitnessMap, abi: Abi) => O): Promise<PrivateKernelSimulateOutput<O>>;
|
|
27
|
-
makeEmptyKernelSimulateOutput<PublicInputsType extends PrivateKernelTailCircuitPublicInputs | PrivateKernelCircuitPublicInputs>(publicInputs: PublicInputsType, circuitType: ClientProtocolArtifact): PrivateKernelSimulateOutput<PublicInputsType>;
|
|
28
|
-
createClientIvcProof(_acirs: Buffer[], _witnessStack: WitnessMap[]): Promise<ClientIvcProof>;
|
|
29
|
-
computeGateCountForCircuit(_bytecode: Buffer, _circuitName: string): Promise<number>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=bb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