From 54e58cc116f3c0b03b967b83027679a48b74e5ef Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Thu, 7 Dec 2023 20:02:55 -0800 Subject: [PATCH] penumbra: use new commitment prefix in abci query --- crates/relayer/src/chain/penumbra/endpoint.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/relayer/src/chain/penumbra/endpoint.rs b/crates/relayer/src/chain/penumbra/endpoint.rs index b1772fac77..9ca54b6d79 100644 --- a/crates/relayer/src/chain/penumbra/endpoint.rs +++ b/crates/relayer/src/chain/penumbra/endpoint.rs @@ -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, ))?;