Skip to content

Commit

Permalink
chore: fix examples (noir-lang#5357)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

Some minor fixes to the `examples` folder I noticed while debugging a
user issue.


## 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.
  • Loading branch information
TomAFrench authored Jun 28, 2024
1 parent f0b65c2 commit 6936a52
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target
proofs
1 change: 0 additions & 1 deletion examples/codegen_verifier/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
out
cache
target
src/contract.sol
Binary file removed examples/prove_and_verify/proofs/proof
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/prove_and_verify/prove_and_verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ $BACKEND prove -b ./target/hello_world.json -w ./target/witness.gz

# TODO: backend should automatically generate vk if necessary.
$BACKEND write_vk -b ./target/hello_world.json
$BACKEND verify -v ./target/vk -p ./proofs/proof
$BACKEND verify -k ./target/vk -p ./proofs/proof

0 comments on commit 6936a52

Please sign in to comment.