semaphore-protocol / semaphore

A zero-knowledge protocol for anonymous interactions.
https://semaphore.pse.dev
MIT License
929 stars 211 forks source link

chore: update verification keys #795

Closed vplasencia closed 6 months ago

vplasencia commented 6 months ago

Description

This PR adds the new verification keys after the staging ceremony.

This PR should be merged after this: https://github.com/privacy-scaling-explorations/snark-artifacts/pull/80

Aditional info

These are the steps to follow after the real trusted setup ceremony is finished:

  1. Clone this repo: https://github.com/vplasencia/semaphorev4-generate-zk-artifacts and run yarn to install dependencies.

  2. Add the zkey files to a folder called p0tion-artifacts.

  3. Run yarn export-keys.

This will generate two files:

  1. Update the Semaphore repo.

https://github.com/semaphore-protocol/semaphore/blob/main/packages/proof/src/verification-keys.json

https://github.com/semaphore-protocol/semaphore/blob/5d513f92fb2369ab5abc1cd0b0612968465262e0/packages/contracts/contracts/base/SemaphoreVerifier.sol#L29

  1. Release a new Semaphore version.

Checklist