-
Notifications
You must be signed in to change notification settings - Fork 1
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.7.0 #81
release: v0.7.0 #81
Conversation
* wip: better HTTP - Trying to reduce file size and constraints substantially - Also need to make this so it doesn't matter if there is padding around headers / etc. * WIP: improving HTTP digesting * WIP: http rewrite * WIP: almost working no-header test * WIP: working start/body * working tests! * cleanup * Update masker.circom * Update CHANGELOG.md
The tests are going to still pass, but the NIVC chain is not functional with the last commit from #82. I will outline the changes needed to get a consistent NIVC path after I also get in the new JSON circuit. I do not want to repair the old JSON circuits as they are soon to be debt. |
* feat: hash based JSON verification * WIP: save * resetting for clearer approach * good save state * feat: working hash version Though this will be too expensive, the idea works! * WIP: need to clear after comma * WIP: good progress * WIP: getting keys also now * feat: (mostly?) working tree hasher * seems to be correct for spotify * perf: first optimization * wip: brain hurty left a note to myself * fix: tree hasher seems correct now * TODO: note to self * feat: hash based JSON verification * WIP: save * resetting for clearer approach * good save state * feat: working hash version Though this will be too expensive, the idea works! * WIP: need to clear after comma * WIP: good progress * WIP: getting keys also now * feat: (mostly?) working tree hasher * seems to be correct for spotify * perf: first optimization * wip: brain hurty left a note to myself * fix: tree hasher seems correct now * TODO: note to self * cleanup from rebase * cleanup * WIP: seems to monomial correctly * rename * add in value to eval at * WIP: start looking for matches * made some fixes * it may be working! * now i can write tests! * more tests * more JSON hasher tests * cleanup
For the JSON circuit we have some warnings from
|
* feat: `PolynomialDigest` * WIP: working to get through NIVC * feat: HTTP circuit digesting * feat: ChaCha circuit digesting * feat: JSON circuit digesting * fix: `JSONExtraction` * IT WORKS * feat: TS init digest * feat: separate sequence/value
Oops i didn't rebase |
This is done. |
This is good to go now, in my opinion! |
JSON circuit is currently ~500K for 1024B data. How are we going to fold this for size > 1KB? because i think constraints will increase exponentially for more sizes |
We can fold 1KB at a time 😄 I got a plan for it |
* fix: `zeroed_data` for `data_digest` in `http_verification` * add test for 1024
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 am excited for these three fold circuits! Your diagram is really good too, thanks for adding that. Maybe that can go in a readme somewhere?
Yeah we should update the README anyway. Let me make that a task. |
Here is a layout:

TODOs: