File tree Expand file tree Collapse file tree 3 files changed +0
-49
lines changed Expand file tree Collapse file tree 3 files changed +0
-49
lines changed Original file line number Diff line number Diff line change @@ -124,17 +124,6 @@ impl GraphQLDaemonStatus {
124124 let best_tip = context. get_or_fetch_best_tip ( ) . await ;
125125
126126 Ok ( best_tip. map ( |best_tip| best_tip. merkle_root_hash ( ) . to_string ( ) ) )
127- // match best_tip {
128- // Some(best_tip) => {
129- // println!("best_tip_ledger_merkle_root {:?}", best_tip.merkle_root_hash());
130- // let ledger_status = context
131- // .get_or_fetch_ledger_status(best_tip.merkle_root_hash())
132- // .await;
133- // Ok(ledger_status
134- // .map(|ledger_status| ledger_status.best_tip_staged_ledger_hash.to_string()))
135- // }
136- // None => Ok(None),
137- // }
138127 }
139128
140129 async fn state_hash ( & self , context : & Context ) -> juniper:: FieldResult < Option < String > > {
Original file line number Diff line number Diff line change @@ -704,40 +704,8 @@ pub fn routes(
704704 . and ( warp:: path ( "playground" ) )
705705 . and ( playground_filter) )
706706 . or ( warp:: get ( ) . and ( warp:: path ( "graphiql" ) ) . and ( graphiql_filter) )
707-
708- // warp::get()
709- // .and(warp::path("graphiql"))
710- // .and(juniper_warp::graphiql_filter("/graphql", None))
711- // .or(warp::path("graphql").and(graphql_filter))
712707}
713708
714- // let routes = (warp::post()
715- // .and(warp::path("graphql"))
716- // .and(juniper_warp::make_graphql_filter(
717- // schema.clone(),
718- // warp::any().map(|| Context),
719- // )))
720- // .or(
721- // warp::path("subscriptions").and(juniper_warp::subscriptions::make_ws_filter(
722- // schema,
723- // ConnectionConfig::new(Context),
724- // )),
725- // )
726- // .or(warp::get()
727- // .and(warp::path("playground"))
728- // .and(juniper_warp::playground_filter(
729- // "/graphql",
730- // Some("/subscriptions"),
731- // )))
732- // .or(warp::get()
733- // .and(warp::path("graphiql"))
734- // .and(juniper_warp::graphiql_filter(
735- // "/graphql",
736- // Some("/subscriptions"),
737- // )))
738- // .or(homepage)
739- // .with(log);
740-
741709/// Helper function used by [`Query::pooled_user_commands`] and [`Query::pooled_zkapp_commands`] to parse public key, transaction hashes and command ids
742710fn parse_pooled_commands_query < ID , F > (
743711 public_key : Option < String > ,
Original file line number Diff line number Diff line change @@ -15,12 +15,6 @@ use o1_utils::field_helpers::FieldHelpers;
1515
1616use super :: zkapp:: GraphQLFailureReason ;
1717
18- // #[derive(GraphQLInputObject, Debug)]
19- // pub struct InputGraphQLSendPayment {
20- // pub input: InputGraphQLPayment,
21- // pub signature: UserCommandSignature,
22- // }
23-
2418#[ derive( GraphQLInputObject , Debug ) ]
2519pub struct InputGraphQLPayment {
2620 pub from : String ,
You can’t perform that action at this time.
0 commit comments