File tree 5 files changed +7581
-21925
lines changed
docs/neutron-core/interchain-queries
5 files changed +7581
-21925
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ neutrond tx interchainqueries submit-query-result [query-id] [result-file]
17
17
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
18
18
```
19
19
20
- Example ontent of ` result.json ` file:
20
+ Example content of ` result.json ` file:
21
21
``` json
22
22
{
23
23
"kv_results" : [
@@ -128,10 +128,8 @@ Output:
128
128
keys:
129
129
- path: " staking"
130
130
key: " MRQE7KnWf7BcUyQTX/rb+q7XJL590xQE7KnWf7BcUyQTX/rb+q7XJL590w=="
131
- query_type: ' kv '
131
+ query_type: kv
132
132
update_period: " 1"
133
- zone_id: test-2
134
-
135
133
```
136
134
137
135
</details >
@@ -165,18 +163,16 @@ Output:
165
163
keys:
166
164
- path: " staking"
167
165
key: " MRQE7KnWf7BcUyQTX/rb+q7XJL590xQE7KnWf7BcUyQTX/rb+q7XJL590w=="
168
- query_type: ' kv '
166
+ query_type: kv
169
167
update_period: " 1"
170
- zone_id: test-2
171
168
- connection_id: connection-0
172
169
id: " 2"
173
170
last_emitted_height: " 217"
174
171
last_submitted_result_local_height: " 199"
175
172
last_submitted_result_remote_height: " 188"
176
173
transactions_filter: ' {"message.module": "bank"}'
177
- query_type: ' tx '
174
+ query_type: tx
178
175
update_period: " 5"
179
- zone_id: test-2
180
176
```
181
177
182
178
</details >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ The ICQ module emits the following event:
10
10
| action | query |
11
11
| query_id | ` {identifier_of_registered_query} ` |
12
12
| owner | ` {query_owner} ` |
13
- | zone_id | ` {identifier_of_remote_zone} ` |
13
+ | connection_id | ` {connection_id_for_query} ` |
14
14
| type | ` {query_type} ` |
15
15
| tx_filter | ` {transactions_search_filter} ` |
16
16
| kv_key | ` {kv_keys} ` |
Original file line number Diff line number Diff line change @@ -15,17 +15,14 @@ message MsgRegisterInterchainQuery {
15
15
// is used to define a filter for transaction search ICQ
16
16
string transactions_filter = 3;
17
17
18
- // is used to identify the chain of interest
19
- string zone_id = 4;
20
-
21
18
// is IBC connection ID for getting ConsensusState to verify proofs
22
- string connection_id = 5 ;
19
+ string connection_id = 4 ;
23
20
24
21
// is used to specify how often (in neutron blocks) the query must be updated
25
- uint64 update_period = 6 ;
22
+ uint64 update_period = 5 ;
26
23
27
24
// is the signer of the message
28
- string sender = 7 ;
25
+ string sender = 6 ;
29
26
}
30
27
31
28
message KVKey {
You can’t perform that action at this time.
0 commit comments