Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate adding a new ceremony in p0tion backend DB #25

Open
sripwoud opened this issue Apr 30, 2024 · 4 comments
Open

Automate adding a new ceremony in p0tion backend DB #25

sripwoud opened this issue Apr 30, 2024 · 4 comments
Labels
dx enhancement New feature or request

Comments

@sripwoud
Copy link
Member

sripwoud commented Apr 30, 2024

"Upon releasing new major versions of underlying circom files packages, I want to automatically have the PR in https://github.com/privacy-scaling-explorations/p0tion created to trigger the ceremony process."

Later on that PR will be reviewed, the trusted setup coordinator will setup the ceremony and it will become opened for contributions

@sripwoud sripwoud self-assigned this Apr 30, 2024
@sripwoud sripwoud added enhancement New feature or request dx labels Apr 30, 2024
@cijimenez
Copy link

cijimenez commented Aug 27, 2024

Hello, what is the details about this issue? @cedoor @sripwoud @baumstern @AtHeartEngineer @hero78119

@sripwoud sripwoud changed the title Automate opening a PR to setup a new cermony in p0tion repo Automate opening a PR to setup a new ceremony in p0tion backend DB Aug 28, 2024
@sripwoud sripwoud changed the title Automate opening a PR to setup a new ceremony in p0tion backend DB Automate adding a new ceremony in p0tion backend DB Aug 28, 2024
@sripwoud
Copy link
Member Author

I have never been a ceremony coordinator myself, so I don't know all the details.
As far as I can tell, the way it works with p0tion is that people can contribute to a list of opened ceremonies.
The data (including circuit data) for these ceremonies needs to be uploaded to a DB first.
the p0tion phase2cli has a command for this:

phase2cli coordinate setup --help

Usage: @p0tion/phase2cli coordinate setup [options]

setup a Groth16 Phase 2 Trusted Setup ceremony for zk-SNARK
circuits

Options:
  -t, --template <path>  The path to the ceremony setup template
                         (default: "")
  -a, --auth <string>    The Github OAuth 2.0 token (default:
                         "")
  -h, --help             display help for command

The idea of this PR, if possible, is to define a GitHub action that would automatically prepare this ceremony data and insert it in the p0tion backend DB (either by using the phase2cli CLI or by posting JSON data directly to the p0tion DB, what do you think @NicoSerranoP )

@sripwoud
Copy link
Member Author

@cedoor I am wondering if this issue (btw not to be confused with #16 )should still be in the scope of this repo.
Because this repo does not really deal with src circuit files, just the artifacts that are the outcomes of ceremonies.

@cedoor
Copy link
Member

cedoor commented Aug 29, 2024

@sripwoud I think we should move this issue to the P0tion repo 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx enhancement New feature or request
Projects
Status: ♻️ Grooming
Development

No branches or pull requests

3 participants