refactor: x/upgrade audit changes (#14188)
This commit is contained in:
@@ -18,8 +18,9 @@ service Msg {
|
||||
//
|
||||
// Since: cosmos-sdk 0.46
|
||||
rpc SoftwareUpgrade(MsgSoftwareUpgrade) returns (MsgSoftwareUpgradeResponse);
|
||||
|
||||
// CancelUpgrade is a governance operation for cancelling a previously
|
||||
// approvid software upgrade.
|
||||
// approved software upgrade.
|
||||
//
|
||||
// Since: cosmos-sdk 0.46
|
||||
rpc CancelUpgrade(MsgCancelUpgrade) returns (MsgCancelUpgradeResponse);
|
||||
|
||||
@@ -31,7 +31,6 @@ message Plan {
|
||||
[deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
||||
|
||||
// The height at which the upgrade must be performed.
|
||||
// Only used if Time is not set.
|
||||
int64 height = 3;
|
||||
|
||||
// Any application specific upgrade info to be included on-chain
|
||||
@@ -54,8 +53,13 @@ message SoftwareUpgradeProposal {
|
||||
option (amino.name) = "cosmos-sdk/SoftwareUpgradeProposal";
|
||||
option (gogoproto.equal) = true;
|
||||
|
||||
// title of the proposal
|
||||
string title = 1;
|
||||
|
||||
// description of the proposal
|
||||
string description = 2;
|
||||
|
||||
// plan of the proposal
|
||||
Plan plan = 3 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
||||
}
|
||||
|
||||
@@ -69,7 +73,10 @@ message CancelSoftwareUpgradeProposal {
|
||||
option (amino.name) = "cosmos-sdk/CancelSoftwareUpgradeProposal";
|
||||
option (gogoproto.equal) = true;
|
||||
|
||||
// title of the proposal
|
||||
string title = 1;
|
||||
|
||||
// description of the proposal
|
||||
string description = 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user