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

possible to create a community pool spend goverance proposal with empty amount #12900

Closed
doggystylez opened this issue Aug 11, 2022 · 2 comments
Assignees

Comments

@doggystylez
Copy link

Summary of Bug

It's possible to create a community pool spend goverance proposal with an empty amount. The CLI will reject a proposal that has a missing or misformatted address but there's no check if the amount field is empty or omitted.

Version

server_name: gaiad
version: v7.0.2
cosmos_sdk_version: v0.45.4

Steps to Reproduce

In localnet, submit a community pool spend goverance proposal with either no amount field, or an amount of "amount": "".

@alexanderbez
Copy link
Contributor

We're deprecating the governance proposal all together. See #12852

@tac0turtle
Copy link
Member

it is checked here

if err := validateAmount(msg.Amount); err != nil {
now. closing this issue

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 a pull request may close this issue.

4 participants