Skip to content

Commit

Permalink
Make sure XXX_MessageName is present for old cork types
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Nov 13, 2024
1 parent 151b73c commit f88857e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 22 deletions.
4 changes: 4 additions & 0 deletions proto/cork/v1/proposal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,31 @@ import "gogoproto/gogo.proto";
option go_package = "github.com/peggyjv/sommelier/v8/x/cork/types/v1";

message AddManagedCellarIDsProposal {
option (gogoproto.messagename) = true;
string title = 1;
string description = 2;
CellarIDSet cellar_ids = 3;
}

// AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands
message AddManagedCellarIDsProposalWithDeposit {
option (gogoproto.messagename) = true;
string title = 1;
string description = 2;
repeated string cellar_ids = 3;
string deposit = 4;
}

message RemoveManagedCellarIDsProposal {
option (gogoproto.messagename) = true;
string title = 1;
string description = 2;
CellarIDSet cellar_ids = 3;
}

// RemoveManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands
message RemoveManagedCellarIDsProposalWithDeposit {
option (gogoproto.messagename) = true;
string title = 1;
string description = 2;
repeated string cellar_ids = 3;
Expand Down
59 changes: 37 additions & 22 deletions x/cork/types/v1/proposal.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f88857e

Please sign in to comment.