feat!: use gov v1 proposals in upgrade cli (#14880)

This commit is contained in:
Julien Robert
2023-02-02 13:55:48 +01:00
committed by GitHub
parent f926631d04
commit 5ec3d2b875
14 changed files with 174 additions and 190 deletions
+9 -9
View File
@@ -20,19 +20,19 @@ import (
// Proposal flags
const (
FlagTitle = "title"
FlagTitle = "title"
FlagDeposit = "deposit"
flagVoter = "voter"
flagDepositor = "depositor"
flagStatus = "status"
FlagMetadata = "metadata"
FlagSummary = "summary"
// Deprecated: only used for v1beta1 legacy proposals.
FlagProposal = "proposal"
// Deprecated: only used for v1beta1 legacy proposals.
FlagDescription = "description"
// Deprecated: only used for v1beta1 legacy proposals.
FlagProposalType = "type"
FlagDeposit = "deposit"
flagVoter = "voter"
flagDepositor = "depositor"
flagStatus = "status"
FlagMetadata = "metadata"
FlagSummary = "summary"
// Deprecated: only used for v1beta1 legacy proposals.
FlagProposal = "proposal"
)
// ProposalFlags defines the core required fields of a legacy proposal. It is used to