-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nargo): correct inconsistent file extension for ACIR hashes (#994)
* Made `save_and_preprocess_program` public for the crate * Rename extension (`json.sha256`->`json.checksum`) Idk which you prefer though * Add integration test for the "cached use case flow" By "cached use case flow" I mean the user proving and verifying over a circuit that was compiled using `nargo compile <circuit_name>` * Add test helper function * cargo fmt * Both integration tests cannot run in parallel * Add `ACIR_CHECKSUM` extension constant * Test that fetching pk & vk works as expected * Rollback integration test * Rollback needless logic * cargo fmt * Extend test Now it also checks that the keys it returns are the ones that we saved Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Fix test & format --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
- Loading branch information
1 parent
65b7108
commit 23c22d7
Showing
3 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters