Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the new verification keys after the staging ceremony.
This PR should be merged after this: privacy-scaling-explorations/snark-artifacts#80
Aditional info
These are the steps to follow after the real trusted setup ceremony is finished:
Clone this repo: https://github.com/vplasencia/semaphorev4-generate-zk-artifacts and run
yarn
to install dependencies.Add the zkey files to a folder called
p0tion-artifacts
.Run
yarn export-keys
.This will generate two files:
A file called
verification-keys.json
with the verification keys for the Semaphore proof package.A file called
contract-verification-keys.json
with theVK_POINTS
values for the Semaphore verifier contract.verification-keys.json
file in thesemaphorev4-generate-zk-artifacts
project.https://github.com/semaphore-protocol/semaphore/blob/main/packages/proof/src/verification-keys.json
contract-verification-keys.json
file in thesemaphorev4-generate-zk-artifacts
project :semaphore/packages/contracts/contracts/base/SemaphoreVerifier.sol
Line 29 in 5d513f9
Checklist
yarn format
andyarn lint
without getting any errors