Skip to content

Commit

Permalink
remove dbgs
Browse files Browse the repository at this point in the history
  • Loading branch information
nomaxg committed Nov 1, 2023
1 parent a2d7042 commit 87db56b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sequencer/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ impl Options {
// the two cases differently.
let (handle, node_index, update_task) = if let Some(query) = self.query {
type StateType<N> = Arc<RwLock<AppState<N>>>;
dbg!("attemtping to run query server");

let storage_path = Path::new(&query.storage_path);
let query_state = {
Expand All @@ -155,7 +154,6 @@ impl Options {
}),
);
}
dbg!("attemtping to run query server2");

let metrics: Box<dyn Metrics> = query_state.metrics();

Expand All @@ -174,7 +172,6 @@ impl Options {
query_state,
blocks_by_time,
}));
dbg!("attemtping to run query server3");

let mut app = App::<_, hotshot_query_service::Error>::with_state(state.clone());

Expand All @@ -195,7 +192,6 @@ impl Options {
let status_api = status::define_api::<StateType<N>>(&Default::default())
.map_err(|err| io::Error::new(io::ErrorKind::Other, err))?;

dbg!("attemtping to run query server4");
availability_api
.get("getnamespaceproof", |req, state| {
async move {
Expand Down Expand Up @@ -331,11 +327,9 @@ impl Options {
)
.0
});
dbg!("attemtping to run query server6");

(handle, node_index, task)
} else {
dbg!("not attemtping to run query server");
let (handle, node_index) = init_handle(Box::new(NoMetrics)).await;
let mut app =
App::<_, hotshot_query_service::Error>::with_state(RwLock::new(handle.clone()));
Expand Down

0 comments on commit 87db56b

Please sign in to comment.