Skip to content

Commit

Permalink
quickfix: pin some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltea committed Feb 6, 2024
1 parent 4ff89e9 commit 8c86e33
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib", branch = "comm
halo2-ecc = { git = "https://github.com/axiom-crypto/halo2-lib", branch = "community-edition", default-features = false }
zkevm-hashes = { git = "https://github.com/axiom-crypto/halo2-lib", branch = "community-edition", default-features = false }

halo2curves = { package = "halo2curves-axiom", version = "0.5" }
halo2curves = { package = "halo2curves-axiom", version = "=0.5.2" }

# verifier SDK
snark-verifier = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "community-edition", default-features = false, features = [
Expand All @@ -75,7 +75,7 @@ group = "0.13"
num-bigint = { version = "0.4", features = ["rand"] }
pasta_curves = "0.5.1"
ff = "0.13"
sha2 = { version = "0.9", features = ["compress"] }
sha2 = { version = "0.10", features = ["compress"] }
uint = "0.9.1"

# misc
Expand All @@ -89,34 +89,17 @@ ark-std = { version = "0.4.0", features = ["print-trace"] }


[patch.crates-io]
halo2curves = { git = "https://github.com/timoftime/halo2curves", package = "halo2curves-axiom", branch = "support_bls12-381" }
ssz_rs = { git = "https://github.com/ralexstokes/ssz-rs", rev = "5f1ec833718efa07bbbff427ab28a1eeaa706164" }

halo2-base = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder" }
halo2-ecc = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder" }
zkevm-hashes = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder" }

[patch."https://github.com/axiom-crypto/halo2-lib"]
halo2-base = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder", default-features = false, features = [
"halo2-pse",
"display",
"jemallocator",
] }
halo2-ecc = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder", default-features = false, features = [
"halo2-pse",
"jemallocator",
] }
zkevm-hashes = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder", default-features = false }
# halo2-base = { path = "../halo2-lib/halo2-base", default-features = false, features = [
# "halo2-pse",
# "display",
# ] }
# halo2-ecc = { path = "../halo2-lib/halo2-ecc", default-features = false, features = [
# "halo2-pse",
# ] }
# zkevm-hashes = { path = "../halo2-lib/hashes/zkevm", default-features = false }
halo2-base = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder" }
halo2-ecc = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder" }
zkevm-hashes = { git = "https://github.com/timoftime/halo2-lib", branch = "feat/zkevm-sha256-builder" }


[patch."https://github.com/axiom-crypto/snark-verifier.git"]
snark-verifier = { git = "https://github.com/timoftime/snark-verifier", branch = "yul-codegen", default-features = false }
snark-verifier-sdk = { git = "https://github.com/timoftime/snark-verifier", branch = "yul-codegen", default-features = false }
# snark-verifier = { path = "../snark-verifier/snark-verifier" }
# snark-verifier-sdk = { path = "../snark-verifier/snark-verifier-sdk" }

snark-verifier = { git = "https://github.com/timoftime/snark-verifier", branch = "yul-codegen" }
snark-verifier-sdk = { git = "https://github.com/timoftime/snark-verifier", branch = "yul-codegen" }

0 comments on commit 8c86e33

Please sign in to comment.