chore: Bring in aztec3-circuits repo - #281
Merged
Merged
Conversation
…des as friend class
* feat: partial logic to check existence of vk in contract tree (missing merkle tree membership calls) * fix private call data * perform sibling-path traversal/hashing to get from VKhash/function-leaf all the way to function root and then to contract root --------- Co-authored-by: dbanks12 <david@aztecprotocol.com>
* chore(specs): remove * chore(specs): remove * revert bb change --------- Co-authored-by: cheethas <urmasurda@gmail.com>
* add rollup subtree height * just use one type of public inputs for base/merge (#168) * fix: re-usable rollup components * fix: hash_multiple -> hash_pair_native --------- Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com>
* fix: small nullifier tree issue * clean * fix: add negative test * revert hash_pair -> hash_multiple change * add new cmake instruction (issue #236) - point to suyashes pedersen branch --------- Co-authored-by: cheethas <urmasurda@gmail.com>
Co-authored-by: cheethas <urmasurda@gmail.com>
* zero-initialize all abi and kernel structs. helper function to zero-init arrays of frs * revert uint32 assignments to 0 * better struct initialization in app circuits files * revert bad zero init of string * dont need to do as much in base utils since structs are sanely zero-initialized * format comment fix * use fill to initialize array of fields to zero
* fix bug in native kernel - contract logic was being skipped * zero-initialize all abi and kernel structs. helper function to zero-init arrays of frs * better struct initialization in app circuits files * dont need to do as much in base utils since structs are sanely zero-initialized * use fill to initialize array of fields to zero * fix native private kernel, refactor private kernel tests, add real logic in test setup for computing function/contract tree roots/siblings * new hash functions
* fixes * fix: more possible regression tests * fix: remove logs * fix: remove more logs * clean: reuse test code * clean * rm done todo --------- Co-authored-by: cheethas <urmasurda@gmail.com>
ludamad
force-pushed
the
adam/git-subtree/desubmodule-circuits
branch
3 times, most recently
from
April 17, 2023 19:17
a0f37d4 to
9b859e6
Compare
ludamad
force-pushed
the
adam/git-subtree/desubmodule-circuits
branch
from
April 17, 2023 19:23
9b859e6 to
ec1b504
Compare
ludamad
force-pushed
the
adam/git-subtree/desubmodule-circuits
branch
from
April 17, 2023 19:45
b443d2b to
aaa702f
Compare
Collaborator
Author
dbanks12
approved these changes
Apr 17, 2023
dbanks12
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Just double check that .gitmodules is right and then you're good to merge. Probably don't want to squash?
Collaborator
Author
|
Thanks David, rebase merging |
ludamad
added a commit
that referenced
this pull request
Jul 14, 2023
* Split Pedersen Hash & Commitment Gadgets (#95) * [SQUASHED] Pedersen refactor into hash and commitment. Use lookup pedersen for merkle tree, fixed-base pedersen for commitments. --------- Co-authored-by: Suyash Bagad <suyashnbagad1997@gmail.com> Port `copy_as_new_witness`. Port `must_imply`. `operator++`. Port changes from `common`. Port `ecc/groups`. * [CPM] add missing dependencies to libbarretenberg.a (#154) --------- * Increase Pedersen Generator indices and subindices. (#169) * Remove a3 specific types. (#252) * Address Luke's Comments on `aztec3 -> master` (#263) * Add must_imply tests. * Added a test for `field_t::copy_as_new_witness` * add test for `conditional_assign` * Added `infinity` test. * Add `add_affine_test`. * Tests for Array Object in `stdlib` (#262) * basic array tests. * Add `composer_type` while hashing/compressing a vkey. * Add `contains_recursive_proof` to Recursive VK (#268) * feat: debug utility for serialization (#290) * feat: enable asan config * `array_push` for Generic Type (#291) * Add Indexed Merkle Tree (#281) * remove ts (consulted with Adam and we're good to go). (#292) * Add cout for verification_key struct (#295) * compute tree (#298) * [SQUASHED] fixing `push_array_to_array` method. (#304) * feat(memory_tree|a3): add sibling path calculations (#301) * feat(memory_tree): frontier paths * fix array and resolve merge conflicts (#305) * Mc/hash vk (#306) * Increase number of sub-generators to 128. * Build a3crypto.wasm (#311) * More Tests on A3 `stdlib` methods (#316) * test: more vk tests to compare circuit/native/vk_data (#310) * Mc/hash vk (#306) * inc num_generators_per_hash_index to 128. (#309) * fix. (#318) * Added test for `compute_tree_native`. (#319) * Install instructions for apt on ubuntu (#312) * Fix address compilation. (#329) --------- Co-authored-by: David Banks <47112877+dbanks12@users.noreply.github.com> Co-authored-by: Michael Connor <mike@aztecprotocol.com> Co-authored-by: dbanks12 <david@aztecprotocol.com> Co-authored-by: Santiago Palladino <spalladino@gmail.com> Co-authored-by: ludamad <adam.domurad@gmail.com> Co-authored-by: Maddiaa <47148561+cheethas@users.noreply.github.com> Co-authored-by: Santiago Palladino <santiago@aztecprotocol.com> Co-authored-by: ludamad <domuradical@gmail.com> Co-authored-by: cheethas <urmasurda@gmail.com>
codygunton
pushed a commit
that referenced
this pull request
Jan 23, 2024
* Split Pedersen Hash & Commitment Gadgets (#95) * [SQUASHED] Pedersen refactor into hash and commitment. Use lookup pedersen for merkle tree, fixed-base pedersen for commitments. --------- Co-authored-by: Suyash Bagad <suyashnbagad1997@gmail.com> Port `copy_as_new_witness`. Port `must_imply`. `operator++`. Port changes from `common`. Port `ecc/groups`. * [CPM] add missing dependencies to libbarretenberg.a (#154) --------- * Increase Pedersen Generator indices and subindices. (#169) * Remove a3 specific types. (#252) * Address Luke's Comments on `aztec3 -> master` (#263) * Add must_imply tests. * Added a test for `field_t::copy_as_new_witness` * add test for `conditional_assign` * Added `infinity` test. * Add `add_affine_test`. * Tests for Array Object in `stdlib` (#262) * basic array tests. * Add `composer_type` while hashing/compressing a vkey. * Add `contains_recursive_proof` to Recursive VK (#268) * feat: debug utility for serialization (#290) * feat: enable asan config * `array_push` for Generic Type (#291) * Add Indexed Merkle Tree (#281) * remove ts (consulted with Adam and we're good to go). (#292) * Add cout for verification_key struct (#295) * compute tree (#298) * [SQUASHED] fixing `push_array_to_array` method. (#304) * feat(memory_tree|a3): add sibling path calculations (#301) * feat(memory_tree): frontier paths * fix array and resolve merge conflicts (#305) * Mc/hash vk (#306) * Increase number of sub-generators to 128. * Build a3crypto.wasm (#311) * More Tests on A3 `stdlib` methods (#316) * test: more vk tests to compare circuit/native/vk_data (#310) * Mc/hash vk (#306) * inc num_generators_per_hash_index to 128. (#309) * fix. (#318) * Added test for `compute_tree_native`. (#319) * Install instructions for apt on ubuntu (#312) * Fix address compilation. (#329) --------- Co-authored-by: David Banks <47112877+dbanks12@users.noreply.github.com> Co-authored-by: Michael Connor <mike@aztecprotocol.com> Co-authored-by: dbanks12 <david@aztecprotocol.com> Co-authored-by: Santiago Palladino <spalladino@gmail.com> Co-authored-by: ludamad <adam.domurad@gmail.com> Co-authored-by: Maddiaa <47148561+cheethas@users.noreply.github.com> Co-authored-by: Santiago Palladino <santiago@aztecprotocol.com> Co-authored-by: ludamad <domuradical@gmail.com> Co-authored-by: cheethas <urmasurda@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Take 3
Bringing in the aztec3-circuits repo into a few-repo setup (more like monorepo). Solves #276.
Checklist: