-
Notifications
You must be signed in to change notification settings - Fork 84
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
Update circuit paths + add a new flag #90
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c1b05a3
chore: remove relative path for circom deps
saleel 91b1881
chore: bump circuit package version
saleel 7a3fdb2
chore: use commonjs for helpers package buid
saleel 091a4ff
chore: add missing package to helpers
saleel c656e03
chore: add ignore_body_hash_check to EmailVErifier circuit
saleel f0a0394
release: update circuit version to 1.1.0
saleel 2326009
fix: fix circom tests for EmailVerifier
saleel 2199213
chore: add circuit tests t circleci
saleel e644831
chore: set circom test recompile to false
saleel 8ec5d08
fix: add test.eml file
saleel a5ce728
fix: update circom image in tests
saleel 8e22bb6
fix: turn recompile on for tests
saleel a892041
temp: disable twitter_circuit_tests in circleci
saleel 8baebf8
chore: fix bodyhash conditional block in circuit
saleel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,34 @@ orbs: | |
node: circleci/[email protected] | ||
rust: circleci/[email protected] | ||
jobs: | ||
run_circuit_tests: | ||
docker: | ||
- image: saleel/circom:2.1.6 | ||
steps: | ||
- checkout: | ||
path: ~/zk-email-verify | ||
- node/install-packages: | ||
pkg-manager: yarn | ||
app-dir: ~/zk-email-verify | ||
- run: | ||
command: yarn test | ||
name: Run circom tests | ||
working_directory: ~/zk-email-verify/packages/circuits | ||
|
||
run_twitter_circuit_tests: | ||
docker: | ||
- image: saleel/circom:2.1.6 | ||
steps: | ||
- checkout: | ||
path: ~/zk-email-verify | ||
- node/install-packages: | ||
pkg-manager: yarn | ||
app-dir: ~/zk-email-verify | ||
- run: | ||
command: yarn test | ||
name: Run circom tests | ||
working_directory: ~/zk-email-verify/packages/twitter-verifier-circuits | ||
|
||
run_forge_tests: | ||
docker: | ||
- image: ghcr.io/foundry-rs/foundry:latest | ||
|
@@ -62,5 +90,7 @@ jobs: | |
workflows: | ||
build_test: | ||
jobs: | ||
- run_circuit_tests | ||
# - run_twitter_circuit_tests | ||
- run_unit_and_e2e_tests | ||
- run_forge_tests |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,8 @@ generate_input_log.txt | |
*.env | ||
.vscode | ||
|
||
packages/circuits/tests/compiled-test-circuit/* | ||
|
||
|
||
.vite | ||
**/.vite | ||
|
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
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
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
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
Empty file.
22 changes: 0 additions & 22 deletions
22
packages/circuits/tests/compiled-test-circuit/email-verifier-test_cpp/Makefile
This file was deleted.
Oops, something went wrong.
126 changes: 0 additions & 126 deletions
126
packages/circuits/tests/compiled-test-circuit/email-verifier-test_cpp/calcwit.cpp
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This diff look messed up but the only change is move the whole block below under this if condition.