Skip to content

Commit

Permalink
debug: add query_kv_result logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed May 31, 2024
1 parent 3d93bb8 commit 05bd36b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/neutron-sdk/src/interchain_queries/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ pub fn query_kv_result<T: KVReconstruct>(
) -> NeutronResult<T> {
let registered_query_result = get_raw_interchain_query_result(deps, query_id)?;

deps.api.debug(&format!(
"WASMDEBUG: got KV results to reconstruct: {:?}",
registered_query_result.result.kv_results
));

KVReconstruct::reconstruct(&registered_query_result.result.kv_results)
}

Expand Down

0 comments on commit 05bd36b

Please # to comment.