Skip to content

Commit

Permalink
modify vote type on proto
Browse files Browse the repository at this point in the history
  • Loading branch information
antstalepresh committed Oct 27, 2020
1 parent 93ec7bb commit da0c391
Showing 2 changed files with 190 additions and 123 deletions.
6 changes: 3 additions & 3 deletions proto/cosmos/gov/v1beta1/gov.proto
Original file line number Diff line number Diff line change
@@ -119,9 +119,9 @@ message Vote {
option (gogoproto.goproto_stringer) = false;
option (gogoproto.equal) = false;

uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""];
string voter = 2;
VoteOption option = 3;
uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""];
string voter = 2;
repeated VoteOption options = 3;
}

// DepositParams defines the params for deposits on governance proposals.
Loading

0 comments on commit da0c391

Please sign in to comment.