Skip to content

Commit

Permalink
docs: add clarifications to the order of list response in query (#103)
Browse files Browse the repository at this point in the history
* docs: add clarification to the order of list response in query

Signed-off-by: 170210 <j170210@icloud.com>

* chore: make proto-gen and format

Signed-off-by: 170210 <j170210@icloud.com>

* chore: add this pr to CHANGELOG

Signed-off-by: 170210 <j170210@icloud.com>

* fixup: fix for comment

Signed-off-by: 170210 <j170210@icloud.com>

* fixup: fix for comment

Signed-off-by: 170210 <j170210@icloud.com>

---------

Signed-off-by: 170210 <j170210@icloud.com>
  • Loading branch information
170210 committed Aug 25, 2023
1 parent 9b19afb commit 9dbd83e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 98 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
### Document Updates
* [\#54](https://github.com/Finschia/wasmd/pull/54) add documentation about errors (codespace and codes)
* [\#92](https://github.com/Finschia/wasmd/pull/92) modify links in x/wasmplus README.md
* [\#103](https://github.com/Finschia/wasmd/pull/103) add clarifications to the order of list response in query


## [v0.1.4](https://github.com/Finschia/wasmd/releases/tag/v0.1.4) - 2023.05.22
Expand Down
10 changes: 5 additions & 5 deletions docs/proto/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ Query/AllContractState RPC method

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `models` | [Model](#cosmwasm.wasm.v1.Model) | repeated | |
| `models` | [Model](#cosmwasm.wasm.v1.Model) | repeated | return in alphabetical order of the state's keys |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |


Expand Down Expand Up @@ -1047,7 +1047,7 @@ QueryCodesResponse is the response type for the Query/Codes RPC method

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `code_infos` | [CodeInfoResponse](#cosmwasm.wasm.v1.CodeInfoResponse) | repeated | |
| `code_infos` | [CodeInfoResponse](#cosmwasm.wasm.v1.CodeInfoResponse) | repeated | return in the order of code_id |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |


Expand Down Expand Up @@ -1081,7 +1081,7 @@ Query/ContractHistory RPC method

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `entries` | [ContractCodeHistoryEntry](#cosmwasm.wasm.v1.ContractCodeHistoryEntry) | repeated | |
| `entries` | [ContractCodeHistoryEntry](#cosmwasm.wasm.v1.ContractCodeHistoryEntry) | repeated | return in the order of timestamps according to when the contract was updated |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |


Expand Down Expand Up @@ -1148,7 +1148,7 @@ Query/ContractsByCode RPC method

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `contracts` | [string](#string) | repeated | contracts are a set of contract addresses |
| `contracts` | [string](#string) | repeated | contracts are a set of contract addresses. return in the order of timestamps according to instantiation or migration |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |


Expand Down Expand Up @@ -1206,7 +1206,7 @@ Query/PinnedCodes RPC method

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `code_ids` | [uint64](#uint64) | repeated | |
| `code_ids` | [uint64](#uint64) | repeated | return in the order of code_id |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |


Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/Finschia/finschia-sdk v0.48.0-rc1
github.com/Finschia/ostracon v1.1.1
github.com/Finschia/wasmvm v1.1.1-0.11.4-rc1
github.com/cosmos/btcutil v1.0.5
github.com/cosmos/iavl v0.19.4
github.com/cosmos/ibc-go/v4 v4.3.1
github.com/dvsekhvalnov/jose2go v1.5.0
Expand Down Expand Up @@ -51,7 +52,6 @@ require (
github.com/coinbase/rosetta-sdk-go v0.8.3 // indirect
github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect
github.com/confio/ics23/go v0.9.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/gorocksdb v1.2.0 // indirect
github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect
Expand Down
Loading

0 comments on commit 9dbd83e

Please sign in to comment.