-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(x/gov): implement a minimum amount per deposit #18146
Merged
Merged
Changes from 20 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
fb1f74c
feat: implement a minimum amount per deposit
facundomedica 32d9be5
allow minDepositRatio of zero
facundomedica b5ff28a
cl++
facundomedica 2f5bb4c
lint
facundomedica 70506fa
fix some tests
facundomedica 89d493f
Update x/gov/keeper/deposit.go
facundomedica 0bba608
Update x/gov/keeper/deposit.go
facundomedica 5cf3bc2
Merge branch 'facu/limit-deposits' of https://github.com/cosmos/cosmo…
facundomedica 7f2f019
fix tests
facundomedica 62bc6cc
fixed sims
facundomedica 7fa8f2f
figuring out issue in e2e
facundomedica 9a3d624
update e2e
facundomedica cf4e715
fixed e2e
facundomedica cef4978
remove comment
facundomedica 3c15843
merge main
facundomedica c5b709a
suggestions
facundomedica 0f10c90
fix
facundomedica c7e841c
fix all tests
facundomedica f2cd8c3
fix more tests
facundomedica 63c003d
fix
facundomedica e4b06f9
Update proto/cosmos/gov/v1/gov.proto
facundomedica 8f3d1b5
fix sims with a hack
facundomedica 05159a7
erge branch 'facu/limit-deposits' of https://github.com/cosmos/cosmos…
facundomedica cbb97e6
fix sim ops tests
facundomedica d2d05e6
remove testing
facundomedica File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changelog entry correctly summarizes the changes made in the PR. It mentions the addition of the
MinDepositRatio
parameter and the new requirement for deposits. However, it might be helpful to also mention the new error constantErrInvalidDepositDenom
that was added for handling invalid deposit denominations.Commitable suggestion (Beta)