Skip to content

Commit

Permalink
improve wording in MessageKVQueryResult
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed Nov 29, 2024
1 parent 2e29375 commit dd24540
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions x/contractmanager/types/sudo.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ type MessageTxQueryResult struct {

// MessageKvQueryResult is the model of the `sudo` message sent to a smart contract when a KV
// Interchain Query result is submitted. If the owner of a KV Interchain Query wants to handle
// updates, they must implement a `sudo` entry point to process `kv_query_result` messages and
// include the necessary logic in it. The `kv_query_result` handler acts as a callback, triggered
// by the interchainqueries module whenever a KV query result is submitted.
// query updates as part of the result submission transaction, they must implement a `sudo` entry
// point to process `kv_query_result` messages and include the necessary logic in it. The
// `kv_query_result` handler acts as a callback, triggered by the interchainqueries module whenever
// a KV query result is submitted.
//
// Note that the message does not include the actual query result, only the query ID. To access the
// result data, use the `Query/QueryResult` RPC of the `interchainqueries` module.
Expand Down

0 comments on commit dd24540

Please sign in to comment.