Skip to content

Commit 1dbb2f4

Browse files
authored
Merge pull request #5 from neutron-org/chore/remove-query-zone-id
chore: remove query zone id
2 parents 41f1c82 + 916e2ee commit 1dbb2f4

File tree

5 files changed

+7581
-21925
lines changed

5 files changed

+7581
-21925
lines changed

docs/neutron-core/interchain-queries/client.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ neutrond tx interchainqueries submit-query-result [query-id] [result-file]
1717
neutrond tx interchainqueries submit-query-result result.json --from demowallet1 --gas 10000000 --gas-adjustment 1.4 --gas-prices 0.5stake --broadcast-mode block --chain-id test-1
1818
```
1919

20-
Example ontent of `result.json` file:
20+
Example content of `result.json` file:
2121
```json
2222
{
2323
"kv_results": [
@@ -128,10 +128,8 @@ Output:
128128
keys:
129129
- path: "staking"
130130
key: "MRQE7KnWf7BcUyQTX/rb+q7XJL590xQE7KnWf7BcUyQTX/rb+q7XJL590w=="
131-
query_type: 'kv'
131+
query_type: kv
132132
update_period: "1"
133-
zone_id: test-2
134-
135133
```
136134

137135
</details>
@@ -165,18 +163,16 @@ Output:
165163
keys:
166164
- path: "staking"
167165
key: "MRQE7KnWf7BcUyQTX/rb+q7XJL590xQE7KnWf7BcUyQTX/rb+q7XJL590w=="
168-
query_type: 'kv'
166+
query_type: kv
169167
update_period: "1"
170-
zone_id: test-2
171168
- connection_id: connection-0
172169
id: "2"
173170
last_emitted_height: "217"
174171
last_submitted_result_local_height: "199"
175172
last_submitted_result_remote_height: "188"
176173
transactions_filter: '{"message.module": "bank"}'
177-
query_type: 'tx'
174+
query_type: tx
178175
update_period: "5"
179-
zone_id: test-2
180176
```
181177

182178
</details>

docs/neutron-core/interchain-queries/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The ICQ module emits the following event:
1010
| action | query |
1111
| query_id | `{identifier_of_registered_query}` |
1212
| owner | `{query_owner}` |
13-
| zone_id | `{identifier_of_remote_zone}` |
13+
| connection_id | `{connection_id_for_query}` |
1414
| type | `{query_type}` |
1515
| tx_filter | `{transactions_search_filter}` |
1616
| kv_key | `{kv_keys}` |

docs/neutron-core/interchain-queries/messages.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ message MsgRegisterInterchainQuery {
1515
// is used to define a filter for transaction search ICQ
1616
string transactions_filter = 3;
1717
18-
// is used to identify the chain of interest
19-
string zone_id = 4;
20-
2118
// is IBC connection ID for getting ConsensusState to verify proofs
22-
string connection_id = 5;
19+
string connection_id = 4;
2320
2421
// is used to specify how often (in neutron blocks) the query must be updated
25-
uint64 update_period = 6;
22+
uint64 update_period = 5;
2623
2724
// is the signer of the message
28-
string sender = 7;
25+
string sender = 6;
2926
}
3027
3128
message KVKey {

0 commit comments

Comments
 (0)