-
Notifications
You must be signed in to change notification settings - Fork 77
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
Hash RSA public key in circuit #100
Conversation
New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: @openzeppelin/contracts-upgradeable@4.9.3 |
69d85ca
to
29c8c61
Compare
23b602c
to
13c7ce4
Compare
@@ -25,7 +25,7 @@ yarn | |||
echo "****GENERATING ZKEY 0****" | |||
start=$(date +%s) | |||
set -x | |||
NODE_OPTIONS='--max-old-space-size=56000' node ../../../node_modules/.bin/snarkjs groth16 setup "$R1CS_FILE" "$PHASE1" "$PARTIAL_ZKEYS"/"$CIRCUIT_NAME"_0.zkey -e=$ENTROPY1 | |||
NODE_OPTIONS='--max-old-space-size=56000' node ../node_modules/.bin/snarkjs groth16 setup "$R1CS_FILE" "$PHASE1" "$PARTIAL_ZKEYS"/"$CIRCUIT_NAME"_0.zkey -e=$ENTROPY1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we define yarn snarkjs
as NODE_OPTIONS='--max-old-space-size=56000' node ../node_modules/.bin/snarkjs
? would make all this code a bit cleaner lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this, but then the circuit.env need to be in the parent dir instead of scripts
- so not sure 🤔
No description provided.