Skip to content

Commit

Permalink
Merge pull request #11 from penumbra-zone/ibc-prefix-penumbra
Browse files Browse the repository at this point in the history
penumbra: use new commitment prefix in abci query
  • Loading branch information
conorsch authored Dec 11, 2023
2 parents d73a246 + 54e58cc commit d8c0245
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/relayer/src/chain/penumbra/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1469,16 +1469,13 @@ impl PenumbraChain {
"src_chain": self.config().id.to_string(),
});

let data = data.into();
if !data.is_provable() & prove {
return Err(Error::private_store());
}
let data_prefixed = format!("ibc-data/{}", data.into());

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

0 comments on commit d8c0245

Please sign in to comment.