Skip to content

Commit fe6451b

Browse files
committed
revert dbg commits
1 parent be88ef6 commit fe6451b

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

zkvm-prover/src/prover.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,16 @@ impl ProvingService for LocalProver {
6464
async fn get_vks(&self, req: GetVkRequest) -> GetVkResponse {
6565
let mut vks = vec![];
6666
for hard_fork_name in self.config.circuits.keys() {
67-
println!("\n\n\nhard fork = {:?}", hard_fork_name);
6867
let handler = self.new_handler(hard_fork_name);
69-
println!("request proof-types = {:?}", req.proof_types);
7068
for proof_type in &req.proof_types {
7169
let vk = handler.get_vk(*proof_type).await;
72-
println!("proof type = {:?}, vk = {:?}", proof_type, vk);
7370

7471
if let Some(vk) = vk {
75-
let vk_base64 = base64::encode(vk);
76-
println!("vk (base64) = {:?}", vk_base64);
77-
vks.push(vk_base64);
72+
vks.push(base64::encode(vk));
7873
}
7974
}
8075
}
8176

82-
println!("\n\n\nall vks = {:#?}", vks);
83-
8477
GetVkResponse { vks, error: None }
8578
}
8679
async fn prove(&mut self, req: ProveRequest) -> ProveResponse {
@@ -186,11 +179,9 @@ impl LocalProver {
186179
}
187180

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

195186
match hard_fork_name {
196187
"euclid" => Arc::new(Arc::new(Mutex::new(EuclidHandler::new(

zkvm-prover/src/zk_circuits_handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
pub mod euclid;
2+
3+
#[allow(non_snake_case)]
24
pub mod euclidV2;
35

46
use anyhow::Result;

zkvm-prover/src/zk_circuits_handler/euclidV2.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ 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");
2423

2524
let cache_dir = workspace_path.join("cache");
2625
let chunk_exe = workspace_path.join("chunk/app.vmexe");
@@ -32,7 +31,6 @@ impl EuclidV2Handler {
3231
Default::default(),
3332
)
3433
.expect("Failed to setup chunk prover");
35-
println!("ok 2");
3634

3735
let batch_exe = workspace_path.join("batch/app.vmexe");
3836
let batch_app_config = workspace_path.join("batch/openvm.toml");
@@ -43,7 +41,6 @@ impl EuclidV2Handler {
4341
Default::default(),
4442
)
4543
.expect("Failed to setup batch prover");
46-
println!("ok 3");
4744

4845
let bundle_exe = workspace_path.join("bundle/app.vmexe");
4946
let bundle_app_config = workspace_path.join("bundle/openvm.toml");
@@ -54,7 +51,6 @@ impl EuclidV2Handler {
5451
Default::default(),
5552
)
5653
.expect("Failed to setup bundle prover");
57-
println!("ok 4");
5854

5955
Self {
6056
chunk_prover,

0 commit comments

Comments
 (0)