Skip to main content
Version: 5.0

State

The ICQ module stores one RegisteredQuery per identifier. RegisteredQuery contains all the necessary info for the ICQ relayer to perform a query on remote chain. last_submitted_result_local_height, last_submitted_result_remote_height are only used for KV-queries and are modified only when a relayer publishes result for a query.

Results for interchain queries are stored as:

  1. QueryResult structure is stored under unique key containing identifier of RegisteredQuery;