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

Register community pool spend proposal type #845

Open
shanev opened this issue Nov 29, 2019 · 0 comments
Open

Register community pool spend proposal type #845

shanev opened this issue Nov 29, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@shanev
Copy link
Contributor

shanev commented Nov 29, 2019

Currently the governance module only has the param change handler:

govRouter.AddRoute(gov.RouterKey, gov.ProposalHandler).
  AddRoute(params.RouterKey, params.NewParamChangeProposalHandler(app.paramsKeeper))

Need to add the community pool spend handler too:

govRouter.AddRoute(gov.RouterKey, gov.ProposalHandler).
  AddRoute(params.RouterKey, params.NewParamChangeProposalHandler(app.ParamsKeeper)).
  AddRoute(distr.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.DistrKeeper))
@shanev shanev added the good first issue Good for newcomers label Nov 29, 2019
@shanev shanev changed the title Register community spend proposal type Register community pool spend proposal type Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant