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

Commit 7078d97

Browse files
committed
upgrade halo2; enable challenge API, but not use it yet
1 parent f33b7ff commit 7078d97

File tree

10 files changed

+20
-19
lines changed

10 files changed

+20
-19
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ members = [
1212
"mock",
1313
]
1414

15-
[patch.crates-io]
16-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
15+
[patch."https://github.com/privacy-scaling-explorations/halo2.git"]
16+
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-1220" }
1717

1818
# Definition of benchmarks profile to use.
1919
[profile.bench]

bus-mapping/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mock = { path = "../mock", optional = true }
1313

1414
ethers-core = "0.17.0"
1515
ethers-providers = "0.17.0"
16-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
16+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
1717
itertools = "0.10"
1818
lazy_static = "1.4"
1919
log = "0.4.14"

circuit-benchmarks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
10+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
1111
ark-std = { version = "0.3", features = ["print-trace"] }
1212
zkevm-circuits = { path = "../zkevm-circuits", features = ["test"]}
1313
keccak256 = { path = "../keccak256" }

eth-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ethers-core = "0.17.0"
1010
ethers-signers = "0.17.0"
1111
hex = "0.4"
1212
lazy_static = "1.4"
13-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
13+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
1414
regex = "1.5.4"
1515
serde = {version = "1.0.130", features = ["derive"] }
1616
serde_json = "1.0.66"

gadgets/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["The appliedzkp team"]
66
license = "MIT OR Apache-2.0"
77

88
[dependencies]
9-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
9+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
1010
sha3 = "0.7.2"
1111
eth-types = { path = "../eth-types" }
1212
digest = "0.7.6"

integration-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ url = "2.2.2"
1919
pretty_assertions = "1.0.0"
2020
log = "0.4.14"
2121
env_logger = "0.9"
22-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
22+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
2323
hex = "0.4.3"
2424
strum = "0.24.1"
2525
rand_chacha = "0.3"

keccak256/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
dev-graph = ["halo2_proofs/dev-graph", "plotters"]
99

1010
[dependencies]
11-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
11+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
1212
itertools = "0.10.1"
1313
num-bigint = "0.4.2"
1414
num-traits = "0.2.14"

zkevm-circuits/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
99

1010
[dependencies]
11-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "scroll-dev-0902" }
11+
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2022_09_10" }
1212
num = "0.4"
1313
sha3 = "0.10"
1414
array-init = "2.0.0"
@@ -27,10 +27,10 @@ lazy_static = "1.4"
2727
keccak256 = { path = "../keccak256"}
2828
log = "0.4"
2929
env_logger = "0.9"
30-
ecdsa = { git = "https://github.com/scroll-tech/halo2wrong", branch = "scroll-dev-1010" }
31-
ecc = { git = "https://github.com/scroll-tech/halo2wrong", branch = "scroll-dev-1010" }
32-
maingate = { git = "https://github.com/scroll-tech/halo2wrong", branch = "scroll-dev-1010" }
33-
integer = { git = "https://github.com/scroll-tech/halo2wrong", branch = "scroll-dev-1010" }
30+
ecdsa = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2022_09_09" }
31+
ecc = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2022_09_09" }
32+
maingate = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2022_09_09" }
33+
integer = { git = "https://github.com/privacy-scaling-explorations/halo2wrong", tag = "v2022_09_09" }
3434
libsecp256k1 = "0.7"
3535
num-bigint = { version = "0.4" }
3636
subtle = "2.4"

zkevm-circuits/src/evm_circuit/util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ impl<F: FieldExt> StoredExpression<F> {
184184
instance_query.rotation(),
185185
)
186186
},
187+
&|_| unimplemented!(),
187188
&|a| -a,
188189
&|a, b| a + b,
189190
&|a, b| a * b,

0 commit comments

Comments
 (0)