Skip to content

build update according to halo2-lib p256 branch#38

Open
DreamWuGit wants to merge 1 commit into
developfrom
check_p256_branch
Open

build update according to halo2-lib p256 branch#38
DreamWuGit wants to merge 1 commit into
developfrom
check_p256_branch

Conversation

@DreamWuGit

@DreamWuGit DreamWuGit commented Oct 24, 2024

Copy link
Copy Markdown

snark_verifier doesn't use change helpers directly in p256 branch scroll-tech/halo2-lib#31, can build well referring to that branch with these cargo dependency changes.

ff = "0.13"
# halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib.git", tag = "v0.2.2", default-features = false }
halo2-base = { git = "https://github.com/scroll-tech/halo2-lib.git", branch = "develop" }
halo2-base = { git = "https://github.com/scroll-tech/halo2-lib.git", branch = "ecc_double_p256" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@DreamWuGit reminder to update this once scroll-tech/halo2-lib#31 is merged

Comment thread snark-verifier/Cargo.toml

# Use halo2-base as non-optional dependency because it re-exports halo2_proofs, halo2curves, and poseidon, using different repos based on feature flag "halo2-axiom" or "halo2-pse"
halo2-base = { git = "https://github.com/scroll-tech/halo2-lib", branch = "develop", default-features=false, features=["halo2-pse","display"] }
halo2-base = { git = "https://github.com/scroll-tech/halo2-lib", branch = "ecc_double_p256", default-features=false, features=["halo2-pse","display"] }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

reminder to update once scroll-tech/halo2-lib#31 is merged

Comment thread snark-verifier/Cargo.toml

# loader_halo2
halo2-ecc = { git = "https://github.com/scroll-tech/halo2-lib", branch = "develop", optional = true, default-features=false, features=["halo2-pse","display"] }
halo2-ecc = { git = "https://github.com/scroll-tech/halo2-lib", branch = "ecc_double_p256", optional = true, default-features=false, features=["halo2-pse","display"] }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

reminder to update once scroll-tech/halo2-lib#31 is merged

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