Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit c41bb7a

Browse files
authored
upgrade halo2-lib to fix ec pairing (#889)
1 parent 4e9d8d2 commit c41bb7a

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregator/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ serde_json = "1.0"
2121
rand = "0.8"
2222

2323
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2023_02_02" }
24-
snark-verifier = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.3" }
25-
snark-verifier-sdk = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.3", default-features=false, features = ["loader_halo2", "loader_evm", "halo2-pse"] }
24+
snark-verifier = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.4" }
25+
snark-verifier-sdk = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.4", default-features=false, features = ["loader_halo2", "loader_evm", "halo2-pse"] }
2626

2727

2828
[features]

zkevm-circuits/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ serde_json = "1.0.78"
3535
hash-circuit = { package = "poseidon-circuit", git = "https://github.com/scroll-tech/poseidon-circuit.git", branch = "scroll-dev-0901"}
3636
misc-precompiled-circuit = { package = "misc-precompiled-circuit", git = "https://github.com/scroll-tech/misc-precompiled-circuit.git", tag = "v0.1.0" }
3737

38-
halo2-base = { git = "https://github.com/scroll-tech/halo2-lib", tag = "v0.1.1", default-features=false, features=["halo2-pse","display"] }
39-
halo2-ecc = { git = "https://github.com/scroll-tech/halo2-lib", tag = "v0.1.1", default-features=false, features=["halo2-pse","display"] }
38+
halo2-base = { git = "https://github.com/scroll-tech/halo2-lib", tag = "v0.1.3", default-features=false, features=["halo2-pse","display"] }
39+
halo2-ecc = { git = "https://github.com/scroll-tech/halo2-lib", tag = "v0.1.3", default-features=false, features=["halo2-pse","display"] }
4040

4141
maingate = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2023_02_02" }
4242

4343
libsecp256k1 = "0.7"
4444
num-bigint = { version = "0.4" }
4545
subtle = "2.4"
4646
rand_chacha = "0.3"
47-
snark-verifier = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.3" }
48-
snark-verifier-sdk = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.3", default-features=false, features = ["loader_halo2", "loader_evm", "halo2-pse"] }
47+
snark-verifier = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.4" }
48+
snark-verifier-sdk = { git = "https://github.com/scroll-tech/snark-verifier", tag = "v0.1.4", default-features=false, features = ["loader_halo2", "loader_evm", "halo2-pse"] }
4949
hex = "0.4.3"
5050
rayon = "1.5"
5151
once_cell = "1.17.0"

zkevm-circuits/src/ecc_circuit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ impl<F: Field> SubCircuitConfig<F> for EccCircuitConfig<F> {
9999
let num_limbs = 3;
100100
let limb_bits = 88;
101101
#[cfg(feature = "onephase")]
102-
let num_advice = [33];
102+
let num_advice = [35];
103103
#[cfg(not(feature = "onephase"))]
104-
let num_advice = [33, 1];
104+
let num_advice = [35, 1];
105105

106106
let fp_config = FpConfig::configure(
107107
meta,

0 commit comments

Comments
 (0)