Skip to content

Commit be88ef6

Browse files
committed
dbg: more println
1 parent 64368f9 commit be88ef6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

zkvm-prover/src/prover.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,11 @@ impl LocalProver {
186186
}
187187

188188
fn new_handler(&self, hard_fork_name: &str) -> Arc<dyn CircuitsHandler> {
189+
println!("in new_handler");
189190
// if we got assigned a task for an unknown hard fork, there is something wrong in the
190191
// coordinator
191192
let config = self.config.circuits.get(hard_fork_name).unwrap();
193+
println!("config workspace path for hard-fork {:?} = {:?}", hard_fork_name, config.workspace_path);
192194

193195
match hard_fork_name {
194196
"euclid" => Arc::new(Arc::new(Mutex::new(EuclidHandler::new(

zkvm-prover/src/zk_circuits_handler/euclidV2.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ unsafe impl Send for EuclidV2Handler {}
2020
impl EuclidV2Handler {
2121
pub fn new(workspace_path: &str) -> Self {
2222
let workspace_path = Path::new(workspace_path);
23+
println!("ok 1");
2324

2425
let cache_dir = workspace_path.join("cache");
2526
let chunk_exe = workspace_path.join("chunk/app.vmexe");
@@ -31,6 +32,7 @@ impl EuclidV2Handler {
3132
Default::default(),
3233
)
3334
.expect("Failed to setup chunk prover");
35+
println!("ok 2");
3436

3537
let batch_exe = workspace_path.join("batch/app.vmexe");
3638
let batch_app_config = workspace_path.join("batch/openvm.toml");
@@ -41,6 +43,7 @@ impl EuclidV2Handler {
4143
Default::default(),
4244
)
4345
.expect("Failed to setup batch prover");
46+
println!("ok 3");
4447

4548
let bundle_exe = workspace_path.join("bundle/app.vmexe");
4649
let bundle_app_config = workspace_path.join("bundle/openvm.toml");
@@ -51,6 +54,7 @@ impl EuclidV2Handler {
5154
Default::default(),
5255
)
5356
.expect("Failed to setup bundle prover");
57+
println!("ok 4");
5458

5559
Self {
5660
chunk_prover,

0 commit comments

Comments
 (0)