-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: merge wasmd v0.27.0 #570
Changes from all commits
8e5f86d
51db87b
5eaa33d
7596bc4
eba1387
40a4f52
566713c
a488fab
f985d50
c1d2cb5
4e90a9b
7ff106e
43d8345
5e4eb96
d247e9c
763762e
c62d0d9
c2b8b3c
aa6e12a
95f7d37
ac0957c
0aa7bff
dbf864e
68a1a39
06c83fe
86d0a86
c2c461e
fa95a2f
e1d1e12
0fb3d3e
d1e6f74
dde48d8
a539857
c612791
b3ec5ec
ee96128
ba93d96
72266ee
f9be9b2
12faa2d
d13503b
21163d8
5b639c7
275e1c5
0ccbd77
a8c5282
a5acf9f
d672287
abc8088
fe5cf17
3308c2d
1e77542
e485eb5
6225729
809883d
ee91fa3
62e2ba7
b5362ba
7684efc
e24b4c4
e395e2f
cd78988
3a7a96e
324b727
ce654a8
d21ed2a
cebe17d
7ca8673
b689f00
35e17c4
596bf38
1672d37
9beb9db
e874cf6
5d9946d
aca49b5
e4a9894
6be179a
606ba24
64da1eb
81823ed
930c4c0
1e31d3c
de4689a
4e2e7c4
a8ce0cc
69cd2b3
713a951
0f3fb97
6c33a30
1689a19
34df544
a3c98e1
516d24d
e0ea888
6cc82c5
8432d2b
100e4b6
a974edd
febb194
5eb0a99
9359d65
1a93cf4
de133ca
01030e6
e4ed0e6
0abdd6a
fef78a9
364346e
d2c0bf8
f9573e6
bd104e1
f2fc24a
44e8e5d
e8a1a61
9456862
a85ff59
feea968
2894e75
83cdcc3
4e8029e
8e0ef5c
b360591
f7f39aa
e003aae
3e4ba9b
cb271f2
f4bb19c
78dcab0
bae4439
8544575
85751fa
77cc9aa
73ea0c2
f4f534a
8fe027e
a5775f3
f38b645
cce1ef5
c1d3995
18ae5e2
d704996
7955f0b
dba039e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1017,14 +1017,18 @@ | |
- [MsgIBCSend](#lbm.wasm.v1.MsgIBCSend) | ||
|
||
- [lbm/wasm/v1/proposal.proto](#lbm/wasm/v1/proposal.proto) | ||
- [AccessConfigUpdate](#lbm.wasm.v1.AccessConfigUpdate) | ||
- [ClearAdminProposal](#lbm.wasm.v1.ClearAdminProposal) | ||
- [ExecuteContractProposal](#lbm.wasm.v1.ExecuteContractProposal) | ||
- [InstantiateContractProposal](#lbm.wasm.v1.InstantiateContractProposal) | ||
- [MigrateContractProposal](#lbm.wasm.v1.MigrateContractProposal) | ||
- [PinCodesProposal](#lbm.wasm.v1.PinCodesProposal) | ||
- [StoreCodeProposal](#lbm.wasm.v1.StoreCodeProposal) | ||
- [SudoContractProposal](#lbm.wasm.v1.SudoContractProposal) | ||
- [UnpinCodesProposal](#lbm.wasm.v1.UnpinCodesProposal) | ||
- [UpdateAdminProposal](#lbm.wasm.v1.UpdateAdminProposal) | ||
- [UpdateContractStatusProposal](#lbm.wasm.v1.UpdateContractStatusProposal) | ||
- [UpdateInstantiateConfigProposal](#lbm.wasm.v1.UpdateInstantiateConfigProposal) | ||
|
||
- [lbm/wasm/v1/query.proto](#lbm/wasm/v1/query.proto) | ||
- [CodeInfoResponse](#lbm.wasm.v1.CodeInfoResponse) | ||
|
@@ -1040,6 +1044,8 @@ | |
- [QueryContractInfoResponse](#lbm.wasm.v1.QueryContractInfoResponse) | ||
- [QueryContractsByCodeRequest](#lbm.wasm.v1.QueryContractsByCodeRequest) | ||
- [QueryContractsByCodeResponse](#lbm.wasm.v1.QueryContractsByCodeResponse) | ||
- [QueryPinnedCodesRequest](#lbm.wasm.v1.QueryPinnedCodesRequest) | ||
- [QueryPinnedCodesResponse](#lbm.wasm.v1.QueryPinnedCodesResponse) | ||
- [QueryRawContractStateRequest](#lbm.wasm.v1.QueryRawContractStateRequest) | ||
- [QueryRawContractStateResponse](#lbm.wasm.v1.QueryRawContractStateResponse) | ||
- [QuerySmartContractStateRequest](#lbm.wasm.v1.QuerySmartContractStateRequest) | ||
|
@@ -14312,7 +14318,6 @@ Params defines the set of wasm parameters. | |
| ----- | ---- | ----- | ----------- | | ||
| `code_upload_access` | [AccessConfig](#lbm.wasm.v1.AccessConfig) | | | | ||
| `instantiate_default_permission` | [AccessType](#lbm.wasm.v1.AccessType) | | | | ||
| `max_wasm_code_size` | [uint64](#uint64) | | | | ||
| `gas_multiplier` | [uint64](#uint64) | | | | ||
| `instance_cost` | [uint64](#uint64) | | | | ||
| `compile_cost` | [uint64](#uint64) | | | | ||
|
@@ -14790,6 +14795,23 @@ MsgIBCSend | |
|
||
|
||
|
||
<a name="lbm.wasm.v1.AccessConfigUpdate"></a> | ||
|
||
### AccessConfigUpdate | ||
AccessConfigUpdate contains the code id and the access config to be | ||
applied. | ||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `code_id` | [uint64](#uint64) | | CodeID is the reference to the stored WASM code to be updated | | ||
| `instantiate_permission` | [AccessConfig](#lbm.wasm.v1.AccessConfig) | | InstantiatePermission to apply to the set of code ids | | ||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="lbm.wasm.v1.ClearAdminProposal"></a> | ||
|
||
### ClearAdminProposal | ||
|
@@ -14807,6 +14829,27 @@ ClearAdminProposal gov proposal content type to clear the admin of a contract. | |
|
||
|
||
|
||
<a name="lbm.wasm.v1.ExecuteContractProposal"></a> | ||
|
||
### ExecuteContractProposal | ||
ExecuteContractProposal gov proposal content type to call execute on a | ||
contract. | ||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `title` | [string](#string) | | Title is a short summary | | ||
| `description` | [string](#string) | | Description is a human readable text | | ||
| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's environment as sender | | ||
| `contract` | [string](#string) | | Contract is the address of the smart contract | | ||
| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract as execute | | ||
| `funds` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Funds coins that are transferred to the contract on instantiation | | ||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="lbm.wasm.v1.InstantiateContractProposal"></a> | ||
|
||
### InstantiateContractProposal | ||
|
@@ -14838,8 +14881,9 @@ MigrateContractProposal gov proposal content type to migrate a contract. | |
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `title` | [string](#string) | | Title is a short summary | | ||
| `description` | [string](#string) | | Description is a human readable text | | ||
| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's environment as sender | | ||
| `description` | [string](#string) | | Description is a human readable text | ||
|
||
Note: skipping 3 as this was previously used for unneeded run_as | | ||
| `contract` | [string](#string) | | Contract is the address of the smart contract | | ||
| `code_id` | [uint64](#uint64) | | CodeID references the new WASM code | | ||
| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract on migration | | ||
|
@@ -14885,6 +14929,24 @@ StoreCodeProposal gov proposal content type to submit WASM code to the system | |
|
||
|
||
|
||
<a name="lbm.wasm.v1.SudoContractProposal"></a> | ||
|
||
### SudoContractProposal | ||
SudoContractProposal gov proposal content type to call sudo on a contract. | ||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `title` | [string](#string) | | Title is a short summary | | ||
| `description` | [string](#string) | | Description is a human readable text | | ||
| `contract` | [string](#string) | | Contract is the address of the smart contract | | ||
| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract as sudo | | ||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="lbm.wasm.v1.UnpinCodesProposal"></a> | ||
|
||
### UnpinCodesProposal | ||
|
@@ -14937,6 +14999,24 @@ UpdateStatusProposal gov proposal content type to update the contract status. | |
|
||
|
||
|
||
|
||
<a name="lbm.wasm.v1.UpdateInstantiateConfigProposal"></a> | ||
|
||
### UpdateInstantiateConfigProposal | ||
UpdateInstantiateConfigProposal gov proposal content type to update | ||
instantiate config to a set of code ids. | ||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `title` | [string](#string) | | Title is a short summary | | ||
| `description` | [string](#string) | | Description is a human readable text | | ||
| `access_config_updates` | [AccessConfigUpdate](#lbm.wasm.v1.AccessConfigUpdate) | repeated | AccessConfigUpdate contains the list of code ids and the access config to be applied. | | ||
|
||
|
||
|
||
|
||
|
||
<!-- end messages --> | ||
|
||
<!-- end enums --> | ||
|
@@ -15163,6 +15243,39 @@ Query/ContractsByCode RPC method | |
|
||
|
||
|
||
<a name="lbm.wasm.v1.QueryPinnedCodesRequest"></a> | ||
|
||
### QueryPinnedCodesRequest | ||
QueryPinnedCodesRequest is the request type for the Query/PinnedCodes | ||
RPC method | ||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change the protobuf path (maybe it comes from from another file) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it is correct because it is the based cosmos proto file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto. |
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="lbm.wasm.v1.QueryPinnedCodesResponse"></a> | ||
|
||
### QueryPinnedCodesResponse | ||
QueryPinnedCodesResponse is the response type for the | ||
Query/PinnedCodes RPC method | ||
|
||
|
||
| Field | Type | Label | Description | | ||
| ----- | ---- | ----- | ----------- | | ||
| `code_ids` | [uint64](#uint64) | repeated | | | ||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change the protobuf path (maybe it comes from from another file) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it is correct because it is the based cosmos proto file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto. |
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="lbm.wasm.v1.QueryRawContractStateRequest"></a> | ||
|
||
### QueryRawContractStateRequest | ||
|
@@ -15250,6 +15363,7 @@ Query provides defines the gRPC querier service | |
| `SmartContractState` | [QuerySmartContractStateRequest](#lbm.wasm.v1.QuerySmartContractStateRequest) | [QuerySmartContractStateResponse](#lbm.wasm.v1.QuerySmartContractStateResponse) | SmartContractState get smart query result from the contract | GET|/lbm/wasm/v1/contract/{address}/smart/{query_data}| | ||
| `Code` | [QueryCodeRequest](#lbm.wasm.v1.QueryCodeRequest) | [QueryCodeResponse](#lbm.wasm.v1.QueryCodeResponse) | Code gets the binary code and metadata for a singe wasm code | GET|/lbm/wasm/v1/code/{code_id}| | ||
| `Codes` | [QueryCodesRequest](#lbm.wasm.v1.QueryCodesRequest) | [QueryCodesResponse](#lbm.wasm.v1.QueryCodesResponse) | Codes gets the metadata for all stored wasm codes | GET|/lbm/wasm/v1/code| | ||
| `PinnedCodes` | [QueryPinnedCodesRequest](#lbm.wasm.v1.QueryPinnedCodesRequest) | [QueryPinnedCodesResponse](#lbm.wasm.v1.QueryPinnedCodesResponse) | PinnedCodes gets the pinned code ids | GET|/lbm/wasm/v1/codes/pinned| | ||
|
||
<!-- end services --> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the protobuf path (maybe it comes from from another file)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is correct because it is the based cosmos proto file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I suggested changing cosmos -> lbm. Is it ok still to be "cosmos.base.v1beta1.Coin"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As @zemyblue nim commented below, this place should have been changed to cosmos(#564), right?