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

Error when trying to nargo prove a compiled circuit #993

Closed
ilitteri opened this issue Mar 16, 2023 · 0 comments · Fixed by #994
Closed

Error when trying to nargo prove a compiled circuit #993

ilitteri opened this issue Mar 16, 2023 · 0 comments · Fixed by #994
Labels
bug Something isn't working

Comments

@ilitteri
Copy link
Contributor

Aim

I'm trying to generate a proof (with nargo prove <proof_name> <circuit_name> over a previously compiled circuit (compiled with nargo compile <circuit_name>).

Expected behavior

Nargo should prove the cached circuit without exceptions.

Bug

Compiled circuit fetching fails because the ACIR hash is stored with a .json.sha256 extension and when fetching the keys, an ACIR hash file with .json.checksum extension is being loaded.

To reproduce

  1. nargo new foo.
  2. nargo compile my_circuit.
  3. nargo prove my_proof my_circuit.

Installation method

Compiled from source

Nargo version

0.3.1

@noir-lang/noir_wasm version

No response

@noir-lang/barretenberg version

No response

@noir-lang/aztec_backend version

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant