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

ZKP2P-ceremony #96

Open
wants to merge 24 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
31bdaae
feat(setup) - change S3 path to URL
ctrlc03 Aug 18, 2023
61f47a0
feat(cleanup) - refactor and add zkey download, multi ceremony banner
ctrlc03 Aug 31, 2023
a027f56
feat(verification) add final beacon and last zkeys
ctrlc03 Aug 31, 2023
34bb234
feat(contribution) add warning about changin tabs
ctrlc03 Aug 31, 2023
521906b
feat(cleanup) add login on tutorial and circuit details
ctrlc03 Aug 31, 2023
3b582ba
chore(syntax)- fix syntax
ctrlc03 Aug 31, 2023
657e2c6
fix(project) remove .length
ctrlc03 Aug 31, 2023
f7f7950
Merge pull request #84 from ctrlc03/feat/cleanup
daodesigner Aug 31, 2023
b18d3fd
Merge pull request #86 from privacy-scaling-explorations/dev
daodesigner Aug 31, 2023
2b6c4b8
fix(firebase) - replace .at with []
ctrlc03 Aug 31, 2023
8bc1eba
fix(contribute) - stop listener upon timeout
ctrlc03 Aug 31, 2023
d093f9e
Merge pull request #87 from ctrlc03/fix/contribute
daodesigner Aug 31, 2023
faf81c6
Merge pull request #88 from privacy-scaling-explorations/dev
daodesigner Aug 31, 2023
52812b0
fix(params) fix wrong param name
ctrlc03 Aug 31, 2023
e1f18f1
Merge branch 'dev' of github.com:privacy-scaling-explorations/Definit…
ctrlc03 Aug 31, 2023
a67cb30
fix(typo) - fix typo
ctrlc03 Aug 31, 2023
b97d77f
Merge pull request #90 from privacy-scaling-explorations/dev
daodesigner Aug 31, 2023
1aa9edc
fix(circuit params) - support legacy firestore field
ctrlc03 Aug 31, 2023
d132808
Merge pull request #91 from privacy-scaling-explorations/dev
daodesigner Aug 31, 2023
11eed28
feat(setup) - fix missing params on rln config file
ctrlc03 Oct 3, 2023
71f2d95
Merge pull request #69 from ctrlc03/feat/update-setup
ctrlc03 Oct 3, 2023
627e769
Merge pull request #93 from privacy-scaling-explorations/dev
ctrlc03 Oct 10, 2023
b8b4356
Add initial config
Oct 16, 2023
83d07df
Update to v0.0.10
Nov 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Failing to follow the above instructions, will result in the CI checks failing.
"template": {
"source": "<HTTPS_URL_OF_THE_CIRCOM_FILE>",
"commitHash": "<TEMPLATE_COMMIT_HASH>",
"paramConfiguration": ["<CIRCUIT_INSTANCE_PARAMETERS_ARRAY>"]
"paramsConfiguration": ["<CIRCUIT_INSTANCE_PARAMETERS_ARRAY>"]
},
"verification": {
"cfOrVm": "<DESIRED_VERIFICATION_MECHANISM (VM/CF)>"
Expand Down Expand Up @@ -98,7 +98,7 @@ Failing to follow the above instructions, will result in the CI checks failing.
- template - an object made of:
- source - a string with the URL of the circom file
- commitHash - a string with the commit id (needs to be a GitHub commit hash)
- paramConfiguration - an array of numbers with the parameters of the circuit template
- paramsConfiguration - an array of numbers with the parameters of the circuit template
- verification - an object detailing how the circuit's zKeys will be verified
- cfOrVm - a string with either "CF" or "VM". If "VM" the following must be added:
- vmConfigurationType - a string with the VM type - options:
Expand Down
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Failing to follow the above instructions, will result in the CI checks failing.
"template": {
"source": "<HTTPS_URL_OF_THE_CIRCOM_FILE>",
"commitHash": "<TEMPLATE_COMMIT_HASH>",
"paramConfiguration": [6,8,3,2]
"paramsConfiguration": [6,8,3,2]
},
"verification": {
"cfOrVm": "CF"
Expand Down Expand Up @@ -91,7 +91,7 @@ Failing to follow the above instructions, will result in the CI checks failing.
- template - an object made of:
- source - a string with the URL of the circom file
- commitHash - a string with the commit id (needs to be a GitHub commit hash)
- paramConfiguration - an array of numbers with the parameters of the circuit template
- paramsConfiguration - an array of numbers with the parameters of the circuit template
- verification - an object detailing how the circuit's zKeys will be verified
- cfOrVm - a string with either "CF" or "VM". If "VM" the following must be added:
- vmConfigurationType - a string with the VM type - options:
Expand Down
18 changes: 7 additions & 11 deletions ceremonies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To request a new ceremony to be setup, you will need to submit a PR with a folde
- fill the *p0tionConfig.json* file accordingly:
+ The title of the ceremony will end up being its prefix. Prefixes are simply the title all lowercase, with dashes (*-*) instead of whitespace. For example, given a title of *Example Ceremony*, the prefix will be *example-ceremony*.
+ Fill the rest of the fields with the desired data, ensuring that each circuit details are correct, and that you chose the required Verification method.
+ In the artifacts fields, please add the correct storage path and bucket name - note that we require both the *r1cs* and the *wasm* files.
+ In the artifacts fields, please add the correct storage path on AWS (the URL to the artifacts) - note that we require both the *r1cs* and the *wasm* files.
+ *Note* that you can use [p0tion phase2cli](https://github.com/privacy-scaling-explorations/p0tion) as follows to verify that the config file is correct:
* `phase2cli validate --template $PATH_TO_THE_TEMPLATE`
- create a directory inside *./ceremonies* and name it with the *prefix* (detailed in the bullet point above).
Expand Down Expand Up @@ -65,16 +65,14 @@ The script will upload your artifacts to a S3 bucket of your choice (must be own
"template": {
"source": "<HTTPS_URL_OF_THE_CIRCOM_FILE>",
"commitHash": "<TEMPLATE_COMMIT_HASH>",
"paramConfiguration": ["<CIRCUIT_INSTANCE_PARAMETERS_ARRAY>"]
"paramsConfiguration": ["<CIRCUIT_INSTANCE_PARAMETERS_ARRAY>"]
},
"verification": {
"cfOrVm": "<DESIRED_VERIFICATION_MECHANISM (VM/CF)>"
},
"artifacts": {
"bucket": "<THE_BUCKET_NAME>",
"region": "<THE_AWS_REGION_WHERE_THE_BUCKET_LIVES>",
"r1csLocalFilePath": "<PATH_TO_THE_CIRCUIT_R1CS>",
"wasmLocalFilePath": "<PATH_TO_THE_CIRCUIT_WASM>"
"r1csStoragePath": "<URL_TO_THE_CIRCUIT_R1CS>",
"r1csStoragePath": "<URL_TO_THE_CIRCUIT_WASM>"
},
"name": "<CIRCUIT_NAME>",
"dynamicThreshold": "<THE_DYNAMIC_THRESHOLD (NUMBER)>",
Expand All @@ -101,7 +99,7 @@ The script will upload your artifacts to a S3 bucket of your choice (must be own
- template - an object made of:
- source - a string with the URL of the circom file
- commitHash - a string with the commit id (needs to be a GitHub commit hash)
- paramConfiguration - an array of numbers with the parameters of the circuit template
- paramsConfiguration - an array of numbers with the parameters of the circuit template
- verification - an object detailing how the circuit's zKeys will be verified
- cfOrVm - a string with either "CF" or "VM". If "VM" the following must be added:
- vmConfigurationType - a string with the VM type - options:
Expand All @@ -116,10 +114,8 @@ The script will upload your artifacts to a S3 bucket of your choice (must be own
* "st1"
* "sc1"
- artifacts - an object with the storage path to the r1cs and wasm on s3
- bucket - a string with the bucket name
- region - the AWS region where the bucket live
- r1csStoragePath - a string with the r1cs storage path e.g. "test-ceremony/circuit.r1cs"
- wasmStoragePath - a string with the wasm storage path e.g. "test-ceremony/circuit.wasm"
- r1csStoragePath - a string with the r1cs storage path on S3 e.g. "https://test-ceremony.region.amazonaws.com/circuit.r1cs"
- wasmStoragePath - a string with the wasm storage path on s3 e.g. "https://test-ceremony.region.amazonaws.com/circuit.wasm"
- name - a string with the circuit name
- dynamicThreshold - if selected dynamic timeout please enter the threshold here as a number
- fixedTimeWindow - if selected fixed timeout please enter the time window here as a number
Expand Down
Loading