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

chore: Add docs tip about filenames between commands #5695

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/docs/getting_started/hello_noir/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ bb prove -b ./target/hello_world.json -w ./target/witness-name.gz -o ./target/pr

The proof generated will then be written to the file `./target/proof`.

:::tip
Since the params for `nargo` and `bb` often specify multiple filenames to read from or write to, remember to check each command is referring to the desired filenames.
Or for greater certainty, delete the target folder and go through each step again (compile, witness, prove, ...) to ensure files generated in past commands are being referenced in future ones.
:::

### 6. Verify the execution proof

Once a proof is generated, we can verify correct execution of our Noir program by verifying the proof file.
Expand Down
Loading