From 738411543172d4c3ebe688f7297500a3a1d8a95e Mon Sep 17 00:00:00 2001 From: PaddyMc Date: Thu, 23 Nov 2023 21:34:33 +0000 Subject: [PATCH] chore: add missing proto fields to gov v1 --- proto/cosmos/gov/v1/gov.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/proto/cosmos/gov/v1/gov.proto b/proto/cosmos/gov/v1/gov.proto index 2efd068ac758d..db8c0b3754d9d 100644 --- a/proto/cosmos/gov/v1/gov.proto +++ b/proto/cosmos/gov/v1/gov.proto @@ -166,6 +166,21 @@ message DepositParams { // months. google.protobuf.Duration max_deposit_period = 2 [(gogoproto.stdduration) = true, (gogoproto.jsontag) = "max_deposit_period,omitempty"]; + + // Minimum expedited deposit for a proposal to enter voting period. + repeated cosmos.base.v1beta1.Coin min_expedited_deposit = 3 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.moretags) = "yaml:\"min_expedited_deposit\"", + (gogoproto.jsontag) = "min_expedited_deposit,omitempty" + ]; + + // The ratio representing the proportion of the deposit value that must be paid at proposal submission. + string min_initial_deposit_ratio = 4 [ + (gogoproto.nullable) = false, + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.jsontag) = "min_initial_deposit_ratio,omitempty" + ]; } // VotingParams defines the params for voting on governance proposals.