Skip to content

Commit

Permalink
Merge branch 'main' of github.com:initia-labs/initia into feat/covera…
Browse files Browse the repository at this point in the history
…ge-cmd
  • Loading branch information
beer-1 committed Dec 5, 2023
2 parents cdaa970 + 4888e13 commit 93e0345
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 105 deletions.
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

17 changes: 4 additions & 13 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47792,9 +47792,6 @@ paths:
description: params defines the parameters of the module.
type: object
properties:
max_module_size:
type: string
format: uint64
base_denom:
type: string
base_min_gas_price:
Expand Down Expand Up @@ -48080,7 +48077,7 @@ paths:
type: boolean
tags:
- Query
/initia/move/v1/tables/{address}/entries/{key_bytes}:
/initia/move/v1/tables/{address}/entries/by_key_bytes:
get:
summary: Query table entry of the given key
operationId: TableEntry
Expand Down Expand Up @@ -48142,9 +48139,9 @@ paths:
required: true
type: string
- name: key_bytes
description: a key of the table entry
in: path
required: true
description: a key of the table entry.
in: query
required: false
type: string
format: byte
tags:
Expand Down Expand Up @@ -78616,9 +78613,6 @@ definitions:
initia.move.v1.Params:
type: object
properties:
max_module_size:
type: string
format: uint64
base_denom:
type: string
base_min_gas_price:
Expand Down Expand Up @@ -78737,9 +78731,6 @@ definitions:
description: params defines the parameters of the module.
type: object
properties:
max_module_size:
type: string
format: uint64
base_denom:
type: string
base_min_gas_price:
Expand Down
2 changes: 1 addition & 1 deletion proto/initia/move/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ service Query {

// Query table entry of the given key
rpc TableEntry(QueryTableEntryRequest) returns (QueryTableEntryResponse) {
option (google.api.http).get = "/initia/move/v1/tables/{address}/entries/{key_bytes}";
option (google.api.http).get = "/initia/move/v1/tables/{address}/entries/by_key_bytes";
}

// Query table entries with pagination
Expand Down
4 changes: 4 additions & 0 deletions x/move/client/cli/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ func DivideUint256String(s string) (uint64, uint64, uint64, uint64, error) {
}

func parseArguments(s string) (tt []string, args []string) {
if len(s) == 0 {
return
}

cursor := 0

var t, a string
Expand Down
146 changes: 73 additions & 73 deletions x/move/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 13 additions & 17 deletions x/move/types/query.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93e0345

Please sign in to comment.