Skip to content

Commit

Permalink
feat: detaching StoreCodeAndInstantiateContract from wasm's tx.proto (#…
Browse files Browse the repository at this point in the history
…625)

* feat: detaching StoreCodeAndInstantiateContract from wasm's tx.proto

Signed-off-by: zemyblue <zemyblue@gmail.com>

* feat: revert wasm proto to cosmwasm proto and add custom proto to `lbm/wasm/v1`.

Signed-off-by: zemyblue <zemyblue@gmail.com>

* chore: fix lint error.

Signed-off-by: zemyblue <zemyblue@gmail.com>

* chore: add wasm cli unittest

Signed-off-by: zemyblue <zemyblue@gmail.com>

* chore: fix lint warning

Signed-off-by: zemyblue <zemyblue@gmail.com>

* Update x/wasm/lbm/types/tx_test.go

Co-authored-by: Sujong Lee <leesj9476lsj@gmail.com>

* chore: apply feedback

Signed-off-by: zemyblue <zemyblue@gmail.com>

* fix: lint error

Signed-off-by: zemyblue <zemyblue@gmail.com>

* chore: apply review feedback

Signed-off-by: zemyblue <zemyblue@gmail.com>

Signed-off-by: zemyblue <zemyblue@gmail.com>
Co-authored-by: Sujong Lee <leesj9476lsj@gmail.com>
  • Loading branch information
zemyblue and dudong2 authored Aug 17, 2022
1 parent 9ba6ea3 commit 0f5056f
Show file tree
Hide file tree
Showing 63 changed files with 4,307 additions and 2,532 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/collection) [\#604](https://github.com/line/lbm-sdk/pull/604) add EventOwnerChanged and EventRootChanged
* (x/collection) [\#608](https://github.com/line/lbm-sdk/pull/608) remove new APIs on x/collection
* (x/token) [\#609](https://github.com/line/lbm-sdk/pull/609) remove new APIs on x/token
* (x/wasm) [\#625](https://github.com/line/lbm-sdk/pull/625) detaching `StoreCodeAndInstantiateContract` from wasm's tx.proto

### Bug Fixes
* (x/wasm) [\#453](https://github.com/line/lbm-sdk/pull/453) modify wasm grpc query api path
Expand Down
9 changes: 4 additions & 5 deletions client/docs/statik/statik.go

Large diffs are not rendered by default.

64 changes: 16 additions & 48 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31578,18 +31578,6 @@ paths:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
status:
title: Status is a status of a contract
type: string
enum:
- CONTRACT_STATUS_UNSPECIFIED
- CONTRACT_STATUS_ACTIVE
- CONTRACT_STATUS_INACTIVE
default: CONTRACT_STATUS_UNSPECIFIED
description: |-
- CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
- CONTRACT_STATUS_ACTIVE: ContractStatus active
- CONTRACT_STATUS_INACTIVE: ContractStatus inactive
title: ContractInfo stores a WASM contract instance
title: >-
QueryContractInfoResponse is the response type for the
Expand Down Expand Up @@ -58279,6 +58267,10 @@ definitions:
timestamp:
type: string
format: date-time
voting_weight:
type: string
format: int64
title: '*** Ostracon Extended Fields ***'
description: >-
DuplicateVoteEvidence contains evidence of a validator
signed two conflicting votes.
Expand Down Expand Up @@ -58459,6 +58451,10 @@ definitions:
proposer_priority:
type: string
format: int64
voting_weight:
type: string
format: int64
title: '*** Ostracon Extended Fields ***'
proposer:
type: object
properties:
Expand All @@ -58483,6 +58479,10 @@ definitions:
proposer_priority:
type: string
format: int64
voting_weight:
type: string
format: int64
title: '*** Ostracon Extended Fields ***'
total_voting_power:
type: string
format: int64
Expand Down Expand Up @@ -58515,6 +58515,10 @@ definitions:
proposer_priority:
type: string
format: int64
voting_weight:
type: string
format: int64
title: '*** Ostracon Extended Fields ***'
total_voting_power:
type: string
format: int64
Expand Down Expand Up @@ -66562,31 +66566,7 @@ definitions:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
status:
title: Status is a status of a contract
type: string
enum:
- CONTRACT_STATUS_UNSPECIFIED
- CONTRACT_STATUS_ACTIVE
- CONTRACT_STATUS_INACTIVE
default: CONTRACT_STATUS_UNSPECIFIED
description: |-
- CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
- CONTRACT_STATUS_ACTIVE: ContractStatus active
- CONTRACT_STATUS_INACTIVE: ContractStatus inactive
title: ContractInfo stores a WASM contract instance
cosmwasm.wasm.v1.ContractStatus:
type: string
enum:
- CONTRACT_STATUS_UNSPECIFIED
- CONTRACT_STATUS_ACTIVE
- CONTRACT_STATUS_INACTIVE
default: CONTRACT_STATUS_UNSPECIFIED
description: |-
- CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
- CONTRACT_STATUS_ACTIVE: ContractStatus active
- CONTRACT_STATUS_INACTIVE: ContractStatus inactive
title: ContractStatus types
cosmwasm.wasm.v1.Model:
type: object
properties:
Expand Down Expand Up @@ -67021,18 +67001,6 @@ definitions:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
status:
title: Status is a status of a contract
type: string
enum:
- CONTRACT_STATUS_UNSPECIFIED
- CONTRACT_STATUS_ACTIVE
- CONTRACT_STATUS_INACTIVE
default: CONTRACT_STATUS_UNSPECIFIED
description: |-
- CONTRACT_STATUS_UNSPECIFIED: ContractStatus unspecified
- CONTRACT_STATUS_ACTIVE: ContractStatus active
- CONTRACT_STATUS_INACTIVE: ContractStatus inactive
title: ContractInfo stores a WASM contract instance
title: >-
QueryContractInfoResponse is the response type for the Query/ContractInfo
Expand Down
Loading

0 comments on commit 0f5056f

Please sign in to comment.