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

Add compile options so that nargo can output compressed acir and compressed witnesses #3119

Closed
kevaundray opened this issue Oct 11, 2023 · 0 comments · Fixed by #3683
Closed
Assignees
Labels
enhancement New feature or request

Comments

@kevaundray
Copy link
Contributor

Problem

For a user who wants to use nargo to compile his circuit and then output artifacts that can be fed straight into a backend, they need to use jq to extract the fields from the json file.

Happy Case

We allow users to do nargo compile --only-acir or some flag to specify that you only want to output the acir

Alternatives Considered

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@kevaundray kevaundray added the enhancement New feature or request label Oct 11, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Oct 11, 2023
github-merge-queue bot pushed a commit that referenced this issue Dec 13, 2023
# Description

## Problem\*

Resolves #3119

## Summary\*

Adds a new option only-acir which compiles acir bytecode into acir.gz
generates witness as .gz instead of .tr
use only-acir when generating the artifacts and remove the un-needed
steps from rebuild.sh

## Additional Context



## Documentation\*

Check one:
- [ ] No documentation needed.
- [X] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [X] I have tested the changes locally.
- [X] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.

---------

Co-authored-by: kevaundray <[email protected]>
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants