Skip to content

Commit f7ad946

Browse files
committed
feat: switch to keccakZK
1 parent 6baa9bc commit f7ad946

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async function generateSolidityVerifier(
116116
switch (flavor) {
117117
case "ultra_keccak_honk": {
118118
const backend = new UltraHonkBackend(program.bytecode);
119-
const vk = await backend.getVerificationKey({ keccak: true });
119+
const vk = await backend.getVerificationKey({ keccakZK: true });
120120
verifier = await backend.getSolidityVerifier(vk);
121121
break;
122122
}

test/noir.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe("Integration tests examples", function () {
5858
const input = { x: 1, y: 2 };
5959
const { witness } = await noir.execute(input);
6060
const { proof, publicInputs } = await backend.generateProof(witness, {
61-
keccak: true,
61+
keccakZK: true,
6262
});
6363
// it matches because we marked y as `pub` in `main.nr`
6464
expect(BigInt(publicInputs[0])).to.eq(BigInt(input.y));
@@ -73,7 +73,7 @@ describe("Integration tests examples", function () {
7373
proof,
7474
publicInputs: [String(input.y)],
7575
},
76-
{ keccak: true },
76+
{ keccakZK: true },
7777
);
7878
expect(resultJs).to.eq(true);
7979
});

0 commit comments

Comments
 (0)