feat(x/gov): implement a minimum amount per deposit (#18146)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
Facundo Medica
2023-11-02 10:51:19 +00:00
committed by GitHub
co-authored by Aleksandr Bezobchuk Julien Robert
parent bd274b8c9a
commit 177e7f4595
18 changed files with 462 additions and 210 deletions
+7
View File
@@ -261,4 +261,11 @@ message Params {
// burn deposits if quorum with vote type no_veto is met
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"];
}