Skip to content
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

feat: update Prover.toml for merkle_insert and simple_shield with UP #1123

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

vezenovm
Copy link
Contributor

@vezenovm vezenovm commented Apr 7, 2023

Related issue(s)

Resolves #

Description

This PR updates the Prover.toml for simple_shield and merkle_insert as check_membership now uses pedersen plookup for compression now that we are integrating with UP.

When running this PR with barretenberg master or the commit tagged here https://github.com/noir-lang/barretenberg-sys#dependencies 6_array fails with a seg fault. So does 8_integration.

Running this PR with barretenberg here: AztecProtocol/barretenberg#332, resolves this issue but still has an unresolved memory access. While testing locally simple_shield, scalar_mul, and schnorr are returning invalid memory reference errors although they do not occur when the tests are run individually.

Summary of changes

Dependency additions / changes

Test additions / changes

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Documentation needs

  • This PR requires documentation updates when merged.

Additional context

Copy link
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think we can merge into Blaine's branch :) -- can also wait for other issue to be fixed

@vezenovm vezenovm changed the title update Prover.toml for merkle_insert and simple_shield with UP feat: update Prover.toml for merkle_insert and simple_shield with UP Apr 10, 2023
@phated phated marked this pull request as ready for review April 10, 2023 19:59
@phated phated merged commit b049ab5 into phated/nix-ultra Apr 10, 2023
@phated phated deleted the mv/update-merkle-tests branch April 10, 2023 20:00
phated added a commit that referenced this pull request Apr 21, 2023
)

* feat(build): Nix flake to build with

* use debug ultra branch for backend, and temporary simple XOR/AND test added to nargo test_data

* ignore result

* Update deps

* Avoid reading build data if we already have it

* Update values for UP

* Align flake with aztec_backend

* update lockfile

* skip simple_shield until it is updated

* Update nix version with our workflow

* Build with Nix in CI

* Update backend deps

* Simplify the nix file

* chore(nargo)!: Update the codegen command to use vk, which requires circuit_name arg

* chore!: Update Prover.toml for merkle_insert and simple_shield with UP (#1123)

* re-enable simple_shield

* use CARGO_MANIFEST_DIR to locate data for integration testing

* clippy

* patch for bb-sys

* patch for bb

* Add build workaround to wasm crate

* clippy

* Remove buggy clippy lint

* cleanup flake

* Rough guidelines for working on Noir with nix

* chore: Cleanup UltraPlonk Debugging (#1130)

cleanup debugging code from UP

* update 8_integration main func

* update to newer bb

* update aztec_backend

* update acvm to 0.9.0

* Reference temp commit on aztec_backend

* fix some issues with the acvm 0.9 upgrade

* temp lock to cody bb branch

* chore: fix up merge issues

* update for contract changes

* update to appropriate refs

* working on direnv

* Update nix and direnv stuff

* Update building documentation

* Stop ignoring vscode dir and recommend extensions and settings

* cspell

* aztec_backend refs

* nix lockfile

* Simplify and rename workflow

* docs cleanup

* code review

* Update crates/nargo_cli/tests/prove_and_verify.rs

* Update crates/nargo_cli/tests/prove_and_verify.rs

Co-authored-by: kevaundray <kevtheappdev@gmail.com>

* Update cspell.json

* Update README.md

* Update cspell.json

* update bb-sys for linux env fixes

* add issue numbers to TODOs

* Update transcript comment

---------

Co-authored-by: Koby <koby@aztecprotocol.com>
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
Co-authored-by: Tom French <tom@tomfren.ch>
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants