Skip to content

Commit

Permalink
fix(host): cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jul 2, 2024
1 parent 0156b8e commit 446b754
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
3 changes: 1 addition & 2 deletions host/src/server/api/v2/proof.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use axum::{debug_handler, extract::State, routing::post, Json, Router};
use raiko_core::interfaces::ProofRequest;
use raiko_core::provider::get_task_data;
use raiko_core::{interfaces::ProofRequest, provider::get_task_data};
use raiko_task_manager::{get_task_manager, EnqueueTaskParams, TaskManager, TaskStatus};
use serde_json::Value;
use tracing::info;
Expand Down
13 changes: 3 additions & 10 deletions host/src/server/api/v2/proof/cancel.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
use axum::{debug_handler, extract::State, routing::post, Json, Router};
use raiko_core::interfaces::ProofRequest;
use raiko_core::provider::get_task_data;
use raiko_task_manager::{get_task_manager, EnqueueTaskParams, TaskManager, TaskStatus};
use raiko_core::{interfaces::ProofRequest, provider::get_task_data};
use raiko_task_manager::{get_task_manager, TaskManager, TaskStatus};
use serde_json::Value;
use tracing::info;
use utoipa::OpenApi;

use crate::{
interfaces::HostResult,
metrics::{inc_current_req, inc_guest_req_count, inc_host_req_count},
server::api::v1::ProofResponse,
ProverState,
};
use crate::{interfaces::HostResult, ProverState};

#[utoipa::path(post, path = "/proof/cancel",
tag = "Proving",
Expand Down

0 comments on commit 446b754

Please sign in to comment.