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 "Prove" Code Action #11

Closed
Tracked by #12
Savio-Sou opened this issue Jun 14, 2023 · 0 comments
Closed
Tracked by #12

Add "Prove" Code Action #11

Savio-Sou opened this issue Jun 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Savio-Sou
Copy link
Contributor

Problem

The Noir VS Code extension does not currently support proving Noir programs within the extension, which could be useful for Noir development workflows in e.g. in-browser VS Code.

Happy Case

As a Noir developer, I want to:

  1. Click a "Prove" code action above fn main (which generates p.proof of executing the Noir program with inputs filled in Prover.toml)

so I can carry out further actions (e.g. verifying) on the proof within VS Code or elsewhere.

If Prover.toml does not exist, the extension should prompt me with an error.

If no inputs are filled in Prover.toml, the extension should prompt me with an error.

If there is already a p.proof in the default directory, the extension should overwrite it with the new p.proof.

Alternatives Considered

Adding a Sidebar View with a "Prove" button: #8

The proposed approach should however be a way to deliver a clickable "Prove" (hence, in-browser VS Code) more quickly in terms of engineering complexity. Sidebar View could be revisited down the road.

Additional Context

Reference:
image
("Prove" instead of "Run Test")

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@Savio-Sou Savio-Sou added the enhancement New feature or request label Jun 14, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jun 14, 2023
@TomAFrench TomAFrench closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jun 17, 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
Projects
Status: Done
Development

No branches or pull requests

2 participants