Closed sripwoud closed 4 months ago
This PRs uses the maybeGetSemaphoreSnarkArtifacts function added in https://github.com/privacy-scaling-explorations/zk-kit/pull/240. It deletes code that becomes unnecessary in @semaphore-protocol/proof.
maybeGetSemaphoreSnarkArtifacts
@semaphore-protocol/proof
Notes about docs:
artifacts
download-snark-artifacts.ts
SnarkArtifacts
generateProof
{ wasmFilePath, zkeyFilePath }
{ wasm, zkey }
Closes #746
yarn prettier
yarn lint
@sripwoud this PR introduces a breaking change (the SnarkArtifacts type has different property names). Worth mentioning it.
Done. Update PR title and description
Description
This PRs uses the
maybeGetSemaphoreSnarkArtifacts
function added in https://github.com/privacy-scaling-explorations/zk-kit/pull/240.It deletes code that becomes unnecessary in
@semaphore-protocol/proof
.Notes about docs:
artifacts
in the docs, so no changes to dodownload-snark-artifacts.ts
script file, didn't do any changes there either as this PR impacts v4 onlyBreaking change
SnarkArtifacts
keys (optional param ofgenerateProof
){ wasmFilePath, zkeyFilePath }
{ wasm, zkey }
Related Issue(s)
Closes #746
Checklist
yarn prettier
andyarn lint
without getting any errors