-
Notifications
You must be signed in to change notification settings - Fork 0
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
release: v0.6.0 #65
release: v0.6.0 #65
Conversation
ea91cd1
to
08edfb7
Compare
Branch is clean now, force push done! |
- adds CHANGELOG.md - bumps version - deletes extra builds - updates main.rs - updates circuits.json
* remove: extra HTTP material * remove: aes * fix: tests * remove: old `circuits.json` * cleanup: JSON * Delete json_nivc.circom * Delete extractor.circom * remove: unneeded utils * remove: more utils * consolidate bytes * fix: build
bb52e7a
to
fba474f
Compare
* fix: http headers max * fix: verify HTTP machine state at end
} | ||
for (var j = 0 ; j < 4 ; j++) { | ||
bigEndianCiphertext[i*4 + j] <== toCiphertextBytes[i].words[j]; | ||
bigEndianCiphertext[i*4 + j] <== isPadding[i * 4 + j] * (-1 - toCiphertextBytes[i].words[j]) + toCiphertextBytes[i].words[j]; // equal to: (isPadding[i * 4 + j] * (-1)) + (1 - isPadding[i * 4 + j]) * toCiphertextBytes[i].words[j]; |
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.
nice
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.
This is amazing. Love the complexity reduction and cutting down on dead code paths
Makefile
Outdated
@@ -20,7 +20,7 @@ build: | |||
@set -e; | |||
@for circuit in $(CIRCOM_FILES); do \ | |||
echo "Processing $${circuit}..."; \ | |||
circom "$${circuit}" --r1cs --wasm -o "$$(dirname $${circuit})/artifacts" -l node_modules; \ | |||
circom "$${circuit}" --r1cs --wasm --O1 -o "$$(dirname $${circuit})/artifacts" -l node_modules; \ |
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.
opt --02 is broken?
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.
sleep score after this PR lands: 10 -> 90
Seriously, so much of this is just dead weight. Thanks for spending time to clean this up thoroughly. this will also reduce amount of TODOs significantly.
I have really really minor nits along with following questions:
- Can we remove dead docs from
docs/
and README?
a. Can we also add new really small doc for NIVC circuits? Can be totally done in a separate PR. Actually, i'll myself really love to do that. - Circuit sizes is really huge right now, and it's for all circuits. My suspicion is on
DataHasher
, because that is only new common thing added to all circuits. Anyways, we should definitely check and bench the constraint size and r1cs size of circuit. (I am happy to do that) - Can we remove unused example files in
examples/
directory?
@@ -0,0 +1,73 @@ | |||
|
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.
will the changelog be manually updated for each major revision?
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.
deleted old unused docs/example files and removed some circuit warnings.
v0.6.0, say it loudd
WIP: Staging
Tasks:
1024b
(do we all agree?)step_in
#53fix: constrain HTTP and JSON to have valid structure #56(I did this for HTTP, but not for JSON. It is problematic in JSON and I will do this in v0.7)-1
instead of0
#60