Skip to content

Commit

Permalink
fix(nightly): add back snarkjs to cli as dev dependency and fix poll …
Browse files Browse the repository at this point in the history
…duration
  • Loading branch information
ctrlc03 committed Jan 10, 2024
1 parent 09ad62f commit 1e5e41d
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 67 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/ceremony-param-tests-c-witness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js setVerifyingKeys
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js create -s 6 -q true
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js deployPoll \
-pk macipk.ea638a3366ed91f2e955110888573861f7c0fc0bb5fb8b8dca9cd7a08d7d6b93 \
--duration 30 \
--duration 300 \
--max-messages 390625 \
--max-vote-options 125 \
--int-state-tree-depth 2 \
Expand Down Expand Up @@ -47,7 +47,7 @@ HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js publish \
--nonce 2 \
--poll-id 0 \
-q true
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js timeTravel -s 100 -q true
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js timeTravel -s 300 -q true
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js mergeSignups --poll-id 0 -q true
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js mergeMessages --poll-id 0 -q true
HARDHAT_CONFIG=./build/hardhat.config.js node build/ts/index.js genProofs \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Publish Project
run: |
# Prevent `git commit error` when running `lerna version`
# It will not pushed to GitHub. It is ephemeral
# It creates an ephemeral commit that will not be pushed to GitHub
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
Expand Down
166 changes: 105 additions & 61 deletions cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"maci-core": "^1.1.2",
"maci-crypto": "^1.1.2",
"maci-domainobjs": "^1.1.2",
"prompt": "^1.3.0",
"zkey-manager": "^0.1.1"
"prompt": "^1.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.9",
Expand All @@ -50,8 +49,10 @@
"chai": "^4.3.10",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"snarkjs": "^0.7.2",
"ts-mocha": "^10.0.0",
"typescript": "^5.3.2"
"typescript": "^5.3.2",
"zkey-manager": "^0.1.2"
},
"nyc": {
"reporter": [
Expand Down

0 comments on commit 1e5e41d

Please sign in to comment.