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

Community fund accumulates a small balance #17

Open
haasted opened this issue Mar 24, 2020 · 0 comments
Open

Community fund accumulates a small balance #17

haasted opened this issue Mar 24, 2020 · 0 comments

Comments

@haasted
Copy link
Collaborator

haasted commented Mar 24, 2020

Describe the bug
Community pool is not completely removed. Any remainder that may exist when paying out rewards is sent to the community pool, which will thus slowly accumulate a small balance over time.

How to reproduce
The current balance of the community pool can be inspected using the light client interface, e.g. https://lilmermaid.validator.network/light/distribution/community_pool

The addition of funds to its balance takes place in several places, notably withdrawDelegationRewards method in delegation.go in the distribution module.

Expected behavior
Community fund should ideally be completely disabled. A possible solution would be to periodically add its balance to the distribution account, once the balance is large enough to be able to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants