penumbra_sdk_ibc/component/
rpc.rs1use cnidarium::Storage;
2use tonic::service::Routes;
3
4use super::HostInterface;
5
6mod client_query;
7mod connection_query;
8mod consensus_query;
9mod utils;
10
11use std::marker::PhantomData;
12
13#[derive(Clone)]
16pub struct IbcQuery<HI: HostInterface> {
17 storage: cnidarium::Storage,
18 _marker: PhantomData<HI>,
19}
20
21impl<HI: HostInterface> IbcQuery<HI> {
22 pub fn new(storage: cnidarium::Storage) -> Self {
23 Self {
24 storage,
25 _marker: PhantomData,
26 }
27 }
28}
29
30pub fn routes(_storage: Storage) -> Routes {
31 unimplemented!("functionality we need is only in tonic 0.10")
32}