Skip to content
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

Add AnteHandler for prevent spam gov proposal #394

Merged
merged 6 commits into from
Dec 7, 2022
Merged

Add AnteHandler for prevent spam gov proposal #394

merged 6 commits into from
Dec 7, 2022

Conversation

vuong177
Copy link
Member

@vuong177 vuong177 commented Dec 4, 2022

Create GovPreventSpamDecorator for preventing spam gov proposal :

  • Validate InitialDeposit in MsgSubmitProposal, it needs to be greater than 20% of MinDeposit in gov module params

@vuong177 vuong177 marked this pull request as ready for review December 5, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants