penumbra_ibc/component/
rpc.rsuse cnidarium::Storage;
use tonic::transport::server::Routes;
use super::HostInterface;
mod client_query;
mod connection_query;
mod consensus_query;
use std::marker::PhantomData;
#[derive(Clone)]
pub struct IbcQuery<HI: HostInterface> {
storage: cnidarium::Storage,
_marker: PhantomData<HI>,
}
impl<HI: HostInterface> IbcQuery<HI> {
pub fn new(storage: cnidarium::Storage) -> Self {
Self {
storage,
_marker: PhantomData,
}
}
}
pub fn routes(_storage: Storage) -> Routes {
unimplemented!("functionality we need is only in tonic 0.10")
}