Skip to content

Commit 5f06bce

Browse files
committed
fix build
1 parent 18c47f4 commit 5f06bce

File tree

3 files changed

+18
-20
lines changed

3 files changed

+18
-20
lines changed

rollup/circuitcapacitychecker/libzkp/Cargo.lock

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup/circuitcapacitychecker/libzkp/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ poseidon = { git = "https://github.com/scroll-tech/poseidon.git", branch = "main
2323
bls12_381 = { git = "https://github.com/scroll-tech/bls12_381", branch = "feat/impl_scalar_field" }
2424

2525
[dependencies]
26-
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "v1.1" }
27-
prover = { git = "https://github.com/scroll-tech/zkevm-circuits.git", tag = "v0.10.0l", default-features = false, features = ["parallel_syn", "scroll", "shanghai"] }
26+
prover = { git = "https://github.com/scroll-tech/zkevm-circuits.git", tag = "v0.10.0rc1", default-features = false, features = ["parallel_syn", "scroll", "shanghai", "strict-ccc"] }
2827

28+
anyhow = "1.0"
2929
base64 = "0.13.0"
3030
env_logger = "0.9.0"
3131
libc = "0.2"
@@ -39,4 +39,4 @@ serde_json = "1.0.66"
3939
opt-level = 3
4040

4141
[profile.release]
42-
opt-level = 3
42+
opt-level = 3

rollup/circuitcapacitychecker/libzkp/src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(once_cell)]
2-
31
pub mod checker {
42
use crate::utils::{c_char_to_str, c_char_to_vec, vec_to_c_char};
53
use anyhow::{anyhow, bail, Error};
@@ -121,7 +119,7 @@ pub mod checker {
121119
.ok_or(anyhow!(
122120
"fail to get circuit capacity checker (id: {id:?}) in apply_tx"
123121
))?
124-
.estimate_circuit_capacity(&[traces])
122+
.estimate_circuit_capacity(traces)
125123
});
126124
match r {
127125
Ok(result) => result,
@@ -174,7 +172,7 @@ pub mod checker {
174172
.ok_or(anyhow!(
175173
"fail to get circuit capacity checker (id: {id:?}) in apply_block"
176174
))?
177-
.estimate_circuit_capacity(&[traces])
175+
.estimate_circuit_capacity(traces)
178176
});
179177
match r {
180178
Ok(result) => result,

0 commit comments

Comments
 (0)