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

Noir JS: Utilize new program execution functions from ACVM JS #4706

Closed
Tracked by #4426
vezenovm opened this issue Apr 3, 2024 · 0 comments · Fixed by #4965
Closed
Tracked by #4426

Noir JS: Utilize new program execution functions from ACVM JS #4706

vezenovm opened this issue Apr 3, 2024 · 0 comments · Fixed by #4965
Labels
enhancement New feature or request js Noir's JavaScript packages

Comments

@vezenovm
Copy link
Contributor

vezenovm commented Apr 3, 2024

Problem

After #4645 is resolved we will be able to execution a program of circuits rather than full a single circuit. Noir JS still uses executeCircuit and executeCircuitWithBlackBoxSolver internally.

Happy Case

We should move to using the new execute program methods in ACVM JS. Then we can break the ACVM JS interface and remove executeCircuit and executeCircuitWithBlackBoxSolver.

Project Impact

None

Impact Context

Noir JS users will be able to take advantage of full program execution which is necessary for any backends integrating folding.

Workaround

None

Workaround Description

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@vezenovm vezenovm added enhancement New feature or request js Noir's JavaScript packages labels Apr 3, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Apr 3, 2024
@vezenovm vezenovm mentioned this issue Apr 3, 2024
github-merge-queue bot pushed a commit that referenced this issue May 3, 2024
# Description

## Problem\*

Resolves #4706 

## Summary\*

This PR actually does not do too much as we still use
`executeCircuitWithBlackBoxSolver` throughout the ACIR simulator on
aztec. That should be removed separately before we look to remove it
from ACVM JS. Noir JS backend also needs to wait for the barretenberg
interface updates before we can pass a collection of circuits to the
backend.

## Additional Context


## Documentation\*

Check one:
- [ ] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [ ] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request js Noir's JavaScript packages
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant