Skip to content

Commit

Permalink
chain(penumbra): remove abci querier (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor authored Dec 6, 2024
1 parent 10f5880 commit 12ce5ed
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions crates/relayer/src/chain/penumbra/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,27 +118,6 @@ pub struct PenumbraChain {
}

impl PenumbraChain {
// unfortunately, for some queries, we need to use ABCI queries, since the gRPC query interface
// does not support specifying the height.
fn rpc_query(
&self,
data: impl Into<Path>,
height_query: QueryHeight,
prove: bool,
) -> Result<QueryResponse, Error> {
let data_prefixed = format!("ibc-data/{}", data.into());

let response = self.rt.block_on(abci_query(
&self.tendermint_rpc_client,
&self.config.rpc_addr,
"state/key".to_string(),
data_prefixed,
height_query.into(),
prove,
))?;

Ok(response)
}
fn init_event_source(&mut self) -> Result<TxEventSourceCmd, Error> {
crate::time!(
"init_event_source",
Expand Down

0 comments on commit 12ce5ed

Please sign in to comment.