Minor godoc update

This commit is contained in:
Alex Peters
2022-05-06 10:34:47 +02:00
parent cd3c9ddddb
commit f1273864c9
3 changed files with 3 additions and 3 deletions

View File

@@ -716,7 +716,7 @@ MigrateContractProposal gov proposal content type to migrate a contract.
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 codesudo |
| `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 |

View File

@@ -60,7 +60,7 @@ message MigrateContractProposal {
// Contract is the address of the smart contract
string contract = 4;
// CodeID references the new WASM codesudo
// CodeID references the new WASM code
uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ];
// Msg json encoded message to be passed to the contract on migration
bytes msg = 6 [ (gogoproto.casttype) = "RawContractMessage" ];

View File

@@ -134,7 +134,7 @@ type MigrateContractProposal struct {
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Contract is the address of the smart contract
Contract string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"`
// CodeID references the new WASM codesudo
// CodeID references the new WASM code
CodeID uint64 `protobuf:"varint,5,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
// Msg json encoded message to be passed to the contract on migration
Msg RawContractMessage `protobuf:"bytes,6,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"`