Skip to content

Commit 356d8e2

Browse files
authored
Merge pull request #1732 from scrtlabs/add-MsgMigrateContractProposal-for-bc
Add msg migrate contract proposal for bc
2 parents fbe365a + 46a15fc commit 356d8e2

File tree

2 files changed

+546
-105
lines changed

2 files changed

+546
-105
lines changed

proto/secret/compute/v1beta1/msg.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,20 @@ message MsgContractGovernanceProposal {
243243

244244
message MsgContractGovernanceProposalResponse {}
245245

246+
// for backward compatibility
247+
message MsgMigrateContractProposal {
248+
option (gogoproto.goproto_getters) = false;
249+
option (cosmos.msg.v1.signer) = "authority";
250+
option (amino.name) = "wasm/MsgMigrateContractProposal";
251+
252+
string authority = 1;
253+
string title = 2;
254+
string description = 3;
255+
repeated MigrateContractInfo contracts = 4;
256+
}
257+
258+
message MsgMigrateContractProposalResponse {}
259+
246260
message MsgSetContractGovernance {
247261
option (gogoproto.goproto_getters) = false;
248262
option (cosmos.msg.v1.signer) = "sender";

0 commit comments

Comments
 (0)