diff --git a/docs/proto/proto-docs.md b/docs/proto/proto-docs.md index 6f9c6a87..d293dce9 100644 --- a/docs/proto/proto-docs.md +++ b/docs/proto/proto-docs.md @@ -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 | diff --git a/proto/cosmwasm/wasm/v1/proposal.proto b/proto/cosmwasm/wasm/v1/proposal.proto index 2f36f87f..98318128 100644 --- a/proto/cosmwasm/wasm/v1/proposal.proto +++ b/proto/cosmwasm/wasm/v1/proposal.proto @@ -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" ]; diff --git a/x/wasm/types/proposal.pb.go b/x/wasm/types/proposal.pb.go index 1b19593c..8d9c2a24 100644 --- a/x/wasm/types/proposal.pb.go +++ b/x/wasm/types/proposal.pb.go @@ -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"`