-
Notifications
You must be signed in to change notification settings - Fork 34
foundry voting example<updated> #37
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
Open
satyambnsal
wants to merge
13
commits into
noir-lang:master
Choose a base branch
from
satyambnsal:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
2ee49e2
Update foundry voting example
satyambnsal d6b1544
code cleanup and Readme changes
satyambnsal f32a29a
feat: Use zk-kit package for merkle tree
satyambnsal b76328a
chore: fix foundry ci pipeline
satyambnsal f8c9751
Add option for triggering workflow manually
satyambnsal 8bbaa86
chore: CI workflow changes
satyambnsal e49a395
Merge branch 'master' into master
critesjosh 979cb5f
Update foundry-voting.yml
critesjosh 9134313
Update foundry-voting.yml
critesjosh d37c8e5
Remove merkle tree usage from zk-kit
satyambnsal 8cf77b8
Merge branch 'master' of github.com:satyambnsal/noir-examples
satyambnsal 9367f56
Add circuit target files
satyambnsal 2c1f91f
Fix circuit generate script
satyambnsal 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 hidden or 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 |
|---|---|---|
| @@ -1,20 +1,177 @@ | ||
| # Compiler files | ||
| cache/ | ||
| out/ | ||
| # Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore | ||
|
|
||
| # Ignores development broadcast logs | ||
| !/broadcast | ||
| /broadcast/*/31337/ | ||
| /broadcast/**/dry-run/ | ||
| # Logs | ||
|
|
||
| # Docs | ||
| docs/ | ||
| logs | ||
| _.log | ||
| npm-debug.log_ | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| lerna-debug.log* | ||
| .pnpm-debug.log* | ||
|
|
||
| circuits/target | ||
| # Caches | ||
|
|
||
| cache | ||
| .cache | ||
|
|
||
| # Diagnostic reports (https://nodejs.org/api/report.html) | ||
|
|
||
| report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json | ||
|
|
||
| # Runtime data | ||
|
|
||
| pids | ||
| _.pid | ||
| _.seed | ||
| *.pid.lock | ||
|
|
||
| # Directory for instrumented libs generated by jscoverage/JSCover | ||
|
|
||
| lib-cov | ||
|
|
||
| # Coverage directory used by tools like istanbul | ||
|
|
||
| coverage | ||
| *.lcov | ||
|
|
||
| # nyc test coverage | ||
|
|
||
| .nyc_output | ||
|
|
||
| # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
|
|
||
| .grunt | ||
|
|
||
| # Bower dependency directory (https://bower.io/) | ||
|
|
||
| bower_components | ||
|
|
||
| # node-waf configuration | ||
|
|
||
| .lock-wscript | ||
|
|
||
| # Compiled binary addons (https://nodejs.org/api/addons.html) | ||
|
|
||
| build/Release | ||
|
|
||
| # Dependency directories | ||
|
|
||
| node_modules/ | ||
| jspm_packages/ | ||
|
|
||
| # Snowpack dependency directory (https://snowpack.dev/) | ||
|
|
||
| web_modules/ | ||
|
|
||
| # TypeScript cache | ||
|
|
||
| *.tsbuildinfo | ||
|
|
||
| # Optional npm cache directory | ||
|
|
||
| .npm | ||
|
|
||
| # Optional eslint cache | ||
|
|
||
| .eslintcache | ||
|
|
||
| # Optional stylelint cache | ||
|
|
||
| .stylelintcache | ||
|
|
||
| # Microbundle cache | ||
|
|
||
| .rpt2_cache/ | ||
| .rts2_cache_cjs/ | ||
| .rts2_cache_es/ | ||
| .rts2_cache_umd/ | ||
|
|
||
| # Optional REPL history | ||
|
|
||
| .node_repl_history | ||
|
|
||
| # Output of 'npm pack' | ||
|
|
||
| *.tgz | ||
|
|
||
| # Yarn Integrity file | ||
|
|
||
| .yarn-integrity | ||
|
|
||
| # dotenv environment variable files | ||
|
|
||
| # Dotenv file | ||
| .env | ||
| .env.development.local | ||
| .env.test.local | ||
| .env.production.local | ||
| .env.local | ||
|
|
||
| # parcel-bundler cache (https://parceljs.org/) | ||
|
|
||
| .parcel-cache | ||
|
|
||
| # Next.js build output | ||
|
|
||
| .next | ||
| out | ||
|
|
||
| # Nuxt.js build / generate output | ||
|
|
||
| .nuxt | ||
| dist | ||
|
|
||
| # Gatsby files | ||
|
|
||
| # Comment in the public line in if your project uses Gatsby and not Next.js | ||
|
|
||
| # https://nextjs.org/blog/next-9-1#public-directory-support | ||
|
|
||
| # public | ||
|
|
||
| # vuepress build output | ||
|
|
||
| .vuepress/dist | ||
|
|
||
| # vuepress v2.x temp and cache directory | ||
|
|
||
| .temp | ||
|
|
||
| # Docusaurus cache and generated files | ||
|
|
||
| .docusaurus | ||
|
|
||
| # Serverless directories | ||
|
|
||
| .serverless/ | ||
|
|
||
| # FuseBox cache | ||
|
|
||
| .fusebox/ | ||
|
|
||
| # DynamoDB Local files | ||
|
|
||
| .dynamodb/ | ||
|
|
||
| # TernJS port file | ||
|
|
||
| .tern-port | ||
|
|
||
| # Stores VSCode versions used for testing VSCode extensions | ||
|
|
||
| .vscode-test | ||
|
|
||
| # yarn v2 | ||
|
|
||
| .yarn/cache | ||
| .yarn/unplugged | ||
| .yarn/build-state.yml | ||
| .yarn/install-state.gz | ||
| .pnp.* | ||
|
|
||
| node_modules | ||
| crs | ||
| # IntelliJ based IDEs | ||
| .idea | ||
|
|
||
| circuits/contract | ||
| circuits/proofs | ||
| # Finder (MacOS) folder config | ||
| .DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Binary file not shown.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| [package] | ||
| authors = [""] | ||
| compiler_version = ">=0.22.0" | ||
| name="foundry_voting" | ||
| type="bin" | ||
| name = "circuits" | ||
| type = "bin" | ||
| authors = ["Satyam Bansal"] | ||
|
|
||
| [dependencies] | ||
| trees = { git = "https://github.com/privacy-scaling-explorations/zk-kit.noir", tag = "main", directory = "packages/merkle-trees" } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| hash_path = [ | ||
| "0x1efa9d6bb4dfdf86063cc77efdec90eb9262079230f1898049efad264835b6c8", | ||
| "0x2a653551d87767c545a2a11b29f0581a392b4e177a87c8e3eb425c51a26a8c77" | ||
| "0x2a653551d87767c545a2a11b29f0581a392b4e177a87c8e3eb425c51a26a8c77", | ||
| ] | ||
| index = "0" | ||
| proposalId = "0" | ||
| root = "0x215597bacd9c7e977dfc170f320074155de974be494579d2586e5b268fa3b629" | ||
| secret = "1" | ||
| vote = "1" | ||
| vote = "1" |
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.