Skip to content

Commit 79d79ed

Browse files
committed
fix
1 parent b270d96 commit 79d79ed

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

crates/prover-bin/src/dumper.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ impl ProvingService for Dumper {
6868
}
6969
}
7070

71-
async fn query_task(&mut self, _: QueryTaskRequest) -> QueryTaskResponse {
72-
unreachable!("for one_shot routine, we should be returned in prove call");
71+
async fn query_task(&mut self, req: QueryTaskRequest) -> QueryTaskResponse {
72+
QueryTaskResponse {
73+
task_id: req.task_id,
74+
status: TaskStatus::Queued,
75+
..Default::default()
76+
}
7377
}
7478
}

0 commit comments

Comments
 (0)