We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ad946 commit b59aeedCopy full SHA for b59aeed
README.md
@@ -101,7 +101,7 @@ it("proves and verifies on-chain", async () => {
101
const input = { x: 1, y: 2 };
102
const { witness } = await noir.execute(input);
103
const { proof, publicInputs } = await backend.generateProof(witness, {
104
- keccak: true,
+ keccakZK: true,
105
});
106
// it matches because we marked y as `pub` in `main.nr`
107
expect(BigInt(publicInputs[0])).to.eq(BigInt(input.y));
@@ -117,7 +117,7 @@ it("proves and verifies on-chain", async () => {
117
proof,
118
publicInputs: [String(input.y)],
119
},
120
- { keccak: true },
+ { keccakZK: true },
121
);
122
expect(resultJs).to.eq(true);
123
0 commit comments