Skip to content

Commit

Permalink
fix(api): add missing field from api v0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Feb 16, 2024
1 parent b71ec62 commit c0ecaf7
Show file tree
Hide file tree
Showing 9 changed files with 321 additions and 138 deletions.
4 changes: 4 additions & 0 deletions api/cosmos/feegrant/v1beta1/tx.pulsar.go

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

8 changes: 6 additions & 2 deletions api/cosmos/feegrant/v1beta1/tx_grpc.pb.go

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

8 changes: 4 additions & 4 deletions api/cosmos/gov/v1/genesis.pulsar.go

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

157 changes: 123 additions & 34 deletions api/cosmos/gov/v1/gov.pulsar.go

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions proto/cosmos/gov/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ message GenesisState {
// proposals defines all the proposals present at genesis.
repeated Proposal proposals = 4;
// Deprecated: Prefer to use `params` instead.
// deposit_params defines all the paramaters of related to deposit.
// deposit_params defines all the parameters of related to deposit.
DepositParams deposit_params = 5 [deprecated = true];
// Deprecated: Prefer to use `params` instead.
// voting_params defines all the paramaters of related to voting.
// voting_params defines all the parameters of related to voting.
VotingParams voting_params = 6 [deprecated = true];
// Deprecated: Prefer to use `params` instead.
// tally_params defines all the paramaters of related to tally.
// tally_params defines all the parameters of related to tally.
TallyParams tally_params = 7 [deprecated = true];
// params defines all the paramaters of x/gov module.
// params defines all the parameters of x/gov module.
//
// Since: cosmos-sdk 0.47
Params params = 8;
Expand Down
13 changes: 13 additions & 0 deletions proto/cosmos/gov/v1/gov.proto
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,24 @@ message Params {
[(gogoproto.nullable) = false, (amino.dont_omitempty) = true];

// burn deposits if a proposal does not meet quorum
//
// Since: cosmos-sdk 0.47
bool burn_vote_quorum = 13;

// burn deposits if the proposal does not enter voting period
//
// Since: cosmos-sdk 0.47
bool burn_proposal_deposit_prevote = 14;

// burn deposits if quorum with vote type no_veto is met
//
// Since: cosmos-sdk 0.47
bool burn_vote_veto = 15;

// The ratio representing the proportion of the deposit value minimum that must be met when making a deposit.
// Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be
// required.
//
// Since: cosmos-sdk 0.50
string min_deposit_ratio = 16 [(cosmos_proto.scalar) = "cosmos.Dec"];
}
12 changes: 10 additions & 2 deletions x/feegrant/tx.pb.go

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

8 changes: 4 additions & 4 deletions x/gov/types/v1/genesis.pb.go

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

Loading

0 comments on commit c0ecaf7

Please sign in to comment.