Skip to content

Commit 85dc6bc

Browse files
roynalnarutolispc
andauthored
hardfork: GalileoV2 (#236)
* feat: galileo-v2 * Revert "refactor sdk cycle counting (#222)" This reverts commit 5f0509c. * x * data * 0.7.1 * commit --------- Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
1 parent 5c7147f commit 85dc6bc

File tree

28 files changed

+28695
-83
lines changed

28 files changed

+28695
-83
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ edition = "2021"
2323
homepage = "https://github.com/scroll-tech/zkvm-prover"
2424
readme = "README.md"
2525
repository = "https://github.com/scroll-tech/zkvm-prover"
26-
version = "0.7.0"
26+
version = "0.7.1"
2727

2828
[workspace.dependencies]
2929
# openvm guest libs
@@ -70,11 +70,11 @@ openvm-transpiler = { git = "https://github.com/openvm-org/openvm.git", tag = "v
7070
# more openvm related libs
7171
openvm-stark-sdk = { git = "https://github.com/openvm-org/stark-backend.git", tag = "v1.2.1" }
7272

73-
sbv-core = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91" }
74-
sbv-helpers = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91", features = ["dev"] }
75-
sbv-primitives = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91" }
76-
sbv-utils = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91" }
77-
sbv-trie = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91" }
73+
sbv-core = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91.2" }
74+
sbv-helpers = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91.2", features = ["dev"] }
75+
sbv-primitives = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91.2" }
76+
sbv-utils = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91.2" }
77+
sbv-trie = { git = "https://github.com/scroll-tech/stateless-block-verifier", tag = "scroll-v91.2" }
7878

7979
alloy-consensus = "1.0"
8080
alloy-provider = "1.0"

crates/circuits/batch-circuit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "scroll-zkvm-batch-circuit"
33
edition.workspace = true
44
readme.workspace = true
55
repository.workspace = true
6-
version = "0.7.0"
6+
version = "0.7.1"
77

88
[dependencies]
99
scroll-zkvm-types-circuit.workspace = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#![cfg_attr(rustfmt, rustfmt_skip)]
22
//! Generated by crates/build-guest. DO NOT EDIT!
33
4-
pub const COMMIT: [u32; 8] = [785797281, 1503046428, 1723442098, 1435956418, 1765830355, 482303835, 1354624549, 1218025248];
4+
pub const COMMIT: [u32; 8] = [890757180, 1649007893, 1418561989, 1736314948, 223360016, 1081880906, 1677391942, 1226516817];

crates/circuits/bundle-circuit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "scroll-zkvm-bundle-circuit"
33
edition.workspace = true
44
readme.workspace = true
55
repository.workspace = true
6-
version = "0.7.0"
6+
version = "0.7.1"
77

88
[dependencies]
99
bincode.workspace = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#![cfg_attr(rustfmt, rustfmt_skip)]
22
//! Generated by crates/build-guest. DO NOT EDIT!
33
4-
pub const COMMIT: [u32; 8] = [937604430, 1562589477, 821989304, 1679885151, 643808946, 1649581635, 181247682, 253726358];
4+
pub const COMMIT: [u32; 8] = [1247172214, 1931214656, 1068729231, 398739518, 1658920406, 920892194, 1958141633, 1294205275];

crates/circuits/chunk-circuit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "scroll-zkvm-chunk-circuit"
33
edition.workspace = true
44
readme.workspace = true
55
repository.workspace = true
6-
version = "0.7.0"
6+
version = "0.7.1"
77

88
[dependencies]
99
bincode = { workspace = true }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#![cfg_attr(rustfmt, rustfmt_skip)]
22
//! Generated by crates/build-guest. DO NOT EDIT!
33
4-
pub const COMMIT: [u32; 8] = [393332172, 117752347, 1533506325, 905201856, 1743252499, 1773630484, 453382683, 1429716804];
4+
pub const COMMIT: [u32; 8] = [521613781, 1622539563, 151651136, 1386962758, 237337157, 1727643820, 1779614850, 552755794];

crates/integration/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::axiom::AxiomProver;
22
use cargo_metadata::MetadataCommand;
33
use once_cell::sync::OnceCell;
4-
use openvm_sdk::{Sdk, StdIn};
4+
use openvm_sdk::StdIn;
55
use scroll_zkvm_prover::{
66
Prover,
77
setup::{read_app_config, read_app_exe},
@@ -49,7 +49,7 @@ pub fn testing_hardfork() -> ForkName {
4949

5050
/// Test settings (version).
5151
pub fn testing_version() -> Version {
52-
Version::galileo()
52+
Version::galileo_v2()
5353
}
5454

5555
pub fn testing_version_validium() -> Version {
@@ -367,8 +367,8 @@ pub fn tester_execute<T: ProverTester>(
367367
.map(|p| p.as_stark_proof().expect("must be stark proof")),
368368
)?;
369369

370-
let sdk = Sdk::new(app_config)?;
371-
let ret = scroll_zkvm_prover::utils::vm::execute_guest(&sdk, app_exe, &stdin)?;
370+
let ret =
371+
scroll_zkvm_prover::utils::vm::execute_guest(app_config.app_vm_config, &app_exe, &stdin)?;
372372
Ok(ret)
373373
}
374374

crates/integration/src/testers/chunk.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ pub fn preset_chunk() -> ChunkTaskGenerator {
220220
ForkName::EuclidV2 => (Version::euclid_v2(), 1u64..=4u64),
221221
ForkName::Feynman => (Version::feynman(), 16525000u64..=16525003u64),
222222
ForkName::Galileo => (Version::galileo(), 20239156..=20239235),
223+
ForkName::GalileoV2 => (Version::galileo_v2(), 20239240..=20239245),
223224
};
224225

225226
ChunkTaskGenerator {
@@ -289,6 +290,14 @@ pub fn preset_chunk_multiple() -> Vec<ChunkTaskGenerator> {
289290
],
290291
Version::galileo(),
291292
),
293+
ForkName::GalileoV2 => (
294+
vec![
295+
20239240..=20239240,
296+
20239241..=20239241,
297+
20239242..=20239242,
298+
],
299+
Version::galileo_v2(),
300+
),
292301
};
293302
create_canonical_tasks(version, block_range.into_iter())
294303
.expect("must success for preset collections")

0 commit comments

Comments
 (0)