Proto lint & gen

This commit is contained in:
Aleksandr Bezobchuk 2020-03-03 09:59:05 -05:00
parent e9dced87f8
commit 00180faa15
No known key found for this signature in database
GPG Key ID: 7DAC30FBD99879B0
4 changed files with 145 additions and 118 deletions

View File

@ -446,6 +446,8 @@ func (m *Proposal) GetContent() Content {
// Content defines the application-level allowed Content to be included in a
// governance proposal.
type Content struct {
// sum defines a set of all acceptable concrete governance proposal Content types.
//
// Types that are valid to be assigned to Sum:
// *Content_Text
// *Content_ParameterChange

View File

@ -86,6 +86,7 @@ message Content {
option (gogoproto.equal) = true;
option (cosmos_proto.interface_type) = "github.com/cosmos/cosmos-sdk/x/gov/types.Content";
// sum defines a set of all acceptable concrete governance proposal Content types.
oneof sum {
cosmos_sdk.x.gov.v1.TextProposal text = 1;
cosmos_sdk.x.params.v1.ParameterChangeProposal parameter_change = 2;

View File

@ -35,27 +35,32 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type VoteOption int32
const (
OptionEmpty VoteOption = 0
OptionYes VoteOption = 1
OptionAbstain VoteOption = 2
OptionNo VoteOption = 3
// VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
OptionEmpty VoteOption = 0
// VOTE_OPTION_YES defines a yes vote option.
OptionYes VoteOption = 1
// VOTE_OPTION_ABSTAIN defines an abstain vote option.
OptionAbstain VoteOption = 2
// VOTE_OPTION_NO defines a no vote option.
OptionNo VoteOption = 3
// VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
OptionNoWithVeto VoteOption = 4
)
var VoteOption_name = map[int32]string{
0: "EMPTY",
1: "YES",
2: "ABSTAIN",
3: "NO",
4: "NO_WITH_VETO",
0: "VOTE_OPTION_UNSPECIFIED",
1: "VOTE_OPTION_YES",
2: "VOTE_OPTION_ABSTAIN",
3: "VOTE_OPTION_NO",
4: "VOTE_OPTION_NO_WITH_VETO",
}
var VoteOption_value = map[string]int32{
"EMPTY": 0,
"YES": 1,
"ABSTAIN": 2,
"NO": 3,
"NO_WITH_VETO": 4,
"VOTE_OPTION_UNSPECIFIED": 0,
"VOTE_OPTION_YES": 1,
"VOTE_OPTION_ABSTAIN": 2,
"VOTE_OPTION_NO": 3,
"VOTE_OPTION_NO_WITH_VETO": 4,
}
func (VoteOption) EnumDescriptor() ([]byte, []int) {
@ -66,30 +71,36 @@ func (VoteOption) EnumDescriptor() ([]byte, []int) {
type ProposalStatus int32
const (
StatusNil ProposalStatus = 0
// PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
StatusNil ProposalStatus = 0
// PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
StatusDepositPeriod ProposalStatus = 1
StatusVotingPeriod ProposalStatus = 2
StatusPassed ProposalStatus = 3
StatusRejected ProposalStatus = 4
StatusFailed ProposalStatus = 5
// PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
StatusVotingPeriod ProposalStatus = 2
// PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
StatusPassed ProposalStatus = 3
// PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
StatusRejected ProposalStatus = 4
// PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
StatusFailed ProposalStatus = 5
)
var ProposalStatus_name = map[int32]string{
0: "NIL",
1: "DEPOSIT_PERIOD",
2: "VOTING_PERIOD",
3: "PASSED",
4: "REJECTED",
5: "FAILED",
0: "PROPOSAL_STATUS_UNSPECIFIED",
1: "PROPOSAL_STATUS_DEPOSIT_PERIOD",
2: "PROPOSAL_STATUS_VOTING_PERIOD",
3: "PROPOSAL_STATUS_PASSED",
4: "PROPOSAL_STATUS_REJECTED",
5: "PROPOSAL_STATUS_FAILED",
}
var ProposalStatus_value = map[string]int32{
"NIL": 0,
"DEPOSIT_PERIOD": 1,
"VOTING_PERIOD": 2,
"PASSED": 3,
"REJECTED": 4,
"FAILED": 5,
"PROPOSAL_STATUS_UNSPECIFIED": 0,
"PROPOSAL_STATUS_DEPOSIT_PERIOD": 1,
"PROPOSAL_STATUS_VOTING_PERIOD": 2,
"PROPOSAL_STATUS_PASSED": 3,
"PROPOSAL_STATUS_REJECTED": 4,
"PROPOSAL_STATUS_FAILED": 5,
}
func (ProposalStatus) EnumDescriptor() ([]byte, []int) {
@ -439,82 +450,84 @@ func init() {
func init() { proto.RegisterFile("x/gov/types/types.proto", fileDescriptor_a5ae5e91b5b3fb03) }
var fileDescriptor_a5ae5e91b5b3fb03 = []byte{
// 1187 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x31, 0x6f, 0xdb, 0x46,
0x14, 0x26, 0x25, 0x59, 0xb6, 0x4f, 0xb2, 0xc2, 0x9c, 0xdd, 0x44, 0x25, 0x0a, 0x92, 0x51, 0x82,
0xc0, 0x4d, 0x11, 0xaa, 0x71, 0x86, 0x02, 0x19, 0x8a, 0x8a, 0x11, 0x93, 0x28, 0x88, 0x25, 0x81,
0x12, 0x1c, 0xb8, 0x45, 0x41, 0xd0, 0x22, 0x4d, 0xb3, 0xa1, 0x78, 0xaa, 0xee, 0xa4, 0x5a, 0x5b,
0xd1, 0xa1, 0x08, 0x34, 0x65, 0xcc, 0x22, 0xc0, 0x40, 0x33, 0x04, 0x45, 0x87, 0xfe, 0x0c, 0x6f,
0xcd, 0x52, 0x20, 0xe8, 0xa0, 0x34, 0xf6, 0xd0, 0xa2, 0xe8, 0xe4, 0xa5, 0x40, 0xa7, 0x42, 0xbc,
0xa3, 0x2d, 0xd9, 0x4e, 0x1d, 0x23, 0x2d, 0x50, 0x74, 0xb1, 0xcd, 0x77, 0xdf, 0xfb, 0xde, 0xbd,
0xef, 0xde, 0x7d, 0x07, 0x83, 0xf3, 0x9b, 0x79, 0x17, 0x75, 0xf3, 0xa4, 0xd7, 0x72, 0x30, 0xfd,
0xa9, 0xb6, 0xda, 0x88, 0x20, 0x38, 0xdf, 0x40, 0xb8, 0x89, 0xb0, 0x89,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, 0xc9, 0x6a, 0xa1, 0x56, 0xd3, 0x8b, 0x42,
0x5c, 0x14, 0xfa, 0x03, 0x25, 0x4d, 0x31, 0x55, 0x0b, 0x63, 0xc7, 0x86, 0x0a, 0x98, 0x31, 0xf4,
0xbb, 0xfa, 0xcd, 0xba, 0x5e, 0x14, 0x12, 0x22, 0xec, 0x0f, 0x94, 0x0c, 0x5d, 0x37, 0x9c, 0xcf,
0x9c, 0x06, 0x71, 0xc2, 0xfc, 0x5b, 0x85, 0xd2, 0x3d, 0xbd, 0x28, 0x4c, 0x8d, 0xe7, 0xdf, 0xb2,
0x3c, 0xdf, 0xb1, 0x27, 0xdb, 0xd5, 0xca, 0xdb, 0x2f, 0x25, 0xee, 0xf9, 0x4b, 0x89, 0xfb, 0x72,
0x47, 0xe2, 0xb6, 0x77, 0x24, 0xfe, 0xd9, 0x8e, 0xc4, 0xff, 0xbc, 0x23, 0xf1, 0x8f, 0x76, 0x25,
0xee, 0xd9, 0xae, 0xc4, 0x3d, 0xdf, 0x95, 0xb8, 0x8f, 0xff, 0xde, 0x02, 0xc7, 0xfe, 0x6b, 0x58,
0x4b, 0x86, 0x2e, 0x73, 0xfd, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xe0, 0x2e, 0x55, 0x4b,
0x0c, 0x00, 0x00,
// 1230 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xcf, 0x8f, 0xd3, 0x46,
0x14, 0x8e, 0xb3, 0xbf, 0xd8, 0x49, 0x36, 0x6b, 0x66, 0x29, 0x9b, 0xba, 0xaa, 0x6d, 0x02, 0x42,
0x2b, 0x04, 0x5e, 0x58, 0x0e, 0x55, 0xa9, 0x54, 0x35, 0x26, 0x06, 0x8c, 0xd8, 0x38, 0xb2, 0xcd,
0x22, 0x5a, 0x55, 0x96, 0x77, 0x6d, 0xbc, 0x2e, 0x8e, 0x27, 0x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b, 0xcf, 0xc4, 0xdc, 0x93, 0x67, 0x62, 0xee, 0xcb, 0x6d, 0x31, 0xb7, 0xb5, 0x2d, 0x72,
0x8f, 0xb7, 0x45, 0xee, 0xe7, 0x6d, 0x91, 0xbb, 0xf7, 0x5c, 0xcc, 0x3d, 0x7e, 0x2e, 0xe6, 0x9e,
0x3c, 0x17, 0x73, 0x1f, 0xff, 0xbd, 0x59, 0x67, 0xfe, 0xdf, 0xac, 0x4e, 0x26, 0x7e, 0x78, 0xfe,
0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x53, 0x05, 0xd1, 0xf5, 0x0c, 0x00, 0x00,
}
func (this *MsgSubmitProposalBase) Equal(that interface{}) bool {

View File

@ -61,11 +61,16 @@ enum VoteOption {
option (gogoproto.goproto_enum_stringer) = false;
option (gogoproto.goproto_enum_prefix) = false;
EMPTY = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"];
YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"];
ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"];
NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"];
NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"];
// VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"];
// VOTE_OPTION_YES defines a yes vote option.
VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"];
// VOTE_OPTION_ABSTAIN defines an abstain vote option.
VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"];
// VOTE_OPTION_NO defines a no vote option.
VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"];
// VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"];
}
// TextProposal defines a standard text proposal whose changes need to be
@ -121,12 +126,18 @@ enum ProposalStatus {
option (gogoproto.goproto_enum_stringer) = false;
option (gogoproto.goproto_enum_prefix) = false;
NIL = 0 [(gogoproto.enumvalue_customname) = "StatusNil"];
DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"];
VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"];
PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"];
REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"];
FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"];
// PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"];
// PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"];
// PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"];
// PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"];
// PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"];
// PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"];
}
// TallyResult defines a standard tally for a proposal