Skip to content

Commit

Permalink
penumbra: use new commitment prefix in abci query
Browse files Browse the repository at this point in the history
  • Loading branch information
avahowell committed Dec 8, 2023
1 parent d73a246 commit 54e58cc
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 54e58cc

Please sign in to comment.