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

Add sha256 clear example #25

Merged
merged 2 commits into from
Oct 9, 2023
Merged

Add sha256 clear example #25

merged 2 commits into from
Oct 9, 2023

Conversation

cyphersnake
Copy link
Collaborator

@cyphersnake cyphersnake commented Oct 9, 2023

Just copied the sha256 gadget from halo2_gadget and made it build within our project as an example. I'll add this separately so that future changes I make will show up as a diff

Also fixed the clippy issue from the original codebase

Part of #12

@cyphersnake cyphersnake self-assigned this Oct 9, 2023
@@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
rand = "0.8"
halo2_proofs = { git = "https://github.com/snarkify/halo2", package="halo2_proofs", branch="snarkify/dev" }
halo2_proofs = { git = "https://github.com/snarkify/halo2", branch = "snarkify/dev" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need add "package=halo2_proofs" here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes the pkg name from the beginning of the line, so specifying it is optional unless you want to change it in your project.

@cyphersnake cyphersnake merged commit e120d41 into main Oct 9, 2023
1 check passed
@cyphersnake cyphersnake deleted the 12-stepcircuit-clear-example branch October 9, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants