diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md index c5f5794..642c8ce 100644 --- a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -62,7 +62,7 @@ Failing to follow the above instructions, will result in the CI checks failing. "template": { "source": "", "commitHash": "", - "paramConfiguration": [""] + "paramsConfiguration": [""] }, "verification": { "cfOrVm": "" @@ -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: diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2d828ab..288c010 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -57,7 +57,7 @@ Failing to follow the above instructions, will result in the CI checks failing. "template": { "source": "", "commitHash": "", - "paramConfiguration": [6,8,3,2] + "paramsConfiguration": [6,8,3,2] }, "verification": { "cfOrVm": "CF" @@ -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: diff --git a/ceremonies/README.md b/ceremonies/README.md index e8c0bac..198f819 100644 --- a/ceremonies/README.md +++ b/ceremonies/README.md @@ -65,7 +65,7 @@ The script will upload your artifacts to a S3 bucket of your choice (must be own "template": { "source": "", "commitHash": "", - "paramConfiguration": [""] + "paramsConfiguration": [""] }, "verification": { "cfOrVm": "" @@ -99,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: diff --git a/ceremonies/rln-trusted-setup-ceremony/p0tionConfig.json b/ceremonies/rln-trusted-setup-ceremony/p0tionConfig.json index 6dcfee6..9e64047 100644 --- a/ceremonies/rln-trusted-setup-ceremony/p0tionConfig.json +++ b/ceremonies/rln-trusted-setup-ceremony/p0tionConfig.json @@ -15,7 +15,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [] + "paramsConfiguration": [] }, "verification": { "cfOrVm": "CF" @@ -37,7 +37,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [16, 16] + "paramsConfiguration": [16, 16] }, "verification": { "cfOrVm": "CF" @@ -61,7 +61,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [17, 16] + "paramsConfiguration": [17, 16] }, "verification": { "cfOrVm": "CF" @@ -85,7 +85,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [18, 16] + "paramsConfiguration": [18, 16] }, "verification": { "cfOrVm": "CF" @@ -109,7 +109,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [19, 16] + "paramsConfiguration": [19, 16] }, "verification": { "cfOrVm": "CF" @@ -133,7 +133,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [20, 16] + "paramsConfiguration": [20, 16] }, "verification": { "cfOrVm": "CF" @@ -157,7 +157,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [21, 16] + "paramsConfiguration": [21, 16] }, "verification": { "cfOrVm": "CF" @@ -181,7 +181,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [22, 16] + "paramsConfiguration": [22, 16] }, "verification": { "cfOrVm": "CF" @@ -205,7 +205,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [23, 16] + "paramsConfiguration": [23, 16] }, "verification": { "cfOrVm": "CF" @@ -229,7 +229,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [24, 16] + "paramsConfiguration": [24, 16] }, "verification": { "cfOrVm": "CF" @@ -253,7 +253,7 @@ "template": { "source": "https://github.com/Rate-Limiting-Nullifier/circom-rln", "commitHash": "17f0fed7d8d19e8b127fd0b3e5295a4831193a0d", - "paramConfiguration": [25, 16] + "paramsConfiguration": [25, 16] }, "verification": { "cfOrVm": "CF" diff --git a/ceremonies/setup_ceremony_config.sh b/ceremonies/setup_ceremony_config.sh index 32a4f17..597eb7d 100644 --- a/ceremonies/setup_ceremony_config.sh +++ b/ceremonies/setup_ceremony_config.sh @@ -263,7 +263,7 @@ do echo -e "\nEnter circuit description:" read circuit_description - echo -e "\nEnter paramConfiguration values as a comma-separated list (e.g. 6,8,3,2):" + echo -e "\nEnter paramsConfiguration values as a comma-separated list (e.g. 6,8,3,2):" read param_str params=$(jq -nR '[(input | split(",")[] | tonumber)]' <<< "$param_str") @@ -286,7 +286,7 @@ do '{ "description": $circuit_description, "compiler": {"version": $compiler_version, "commitHash": $compiler_commit_hash}, - "template": {"source": $template_source, "commitHash": $template_commit_hash, "paramConfiguration": $params}, + "template": {"source": $template_source, "commitHash": $template_commit_hash, "paramsConfiguration": $params}, "verification": ($verification_method | if . == "CF" then {"cfOrVm": "CF"} else {"cfOrVm": "VM", "vmConfigurationType": $vm_configuration_type, "vmDiskSize": $vm_disk_size|tonumber, "vmDiskType": $vm_disk_type} end), "artifacts": {"r1csStoragePath": ("https://" + $bucket + ".s3." + $region + ".amazonaws.com/" + $base_name + ".r1cs"), "wasmStoragePath": ("https://" + $bucket + ".s3." + $region + ".amazonaws.com/" + $base_name + ".wasm")}, "name": $base_name,