semaphore-protocol / semaphore

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

chore: update verification keys #795

Closed vplasencia closed 1 month ago

vplasencia commented 1 month 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