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

Allow client apps to override staking's defaults #4531

Closed
4 tasks
angelorc opened this issue Jun 11, 2019 · 4 comments
Closed
4 tasks

Allow client apps to override staking's defaults #4531

angelorc opened this issue Jun 11, 2019 · 4 comments

Comments

@angelorc
Copy link

I'm developing a client application and I want to override the staking module default max number of validators, the bond denom, and possibly the bonding time. Currently, I can do it only by

  1. generating a genesis.json file
  2. then changing the respective values.

I would like to override such variables either via API calls or via compilation flags.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@alessio alessio changed the title Allow client apps to override staking's default Allow client apps to override staking's defaults Jun 11, 2019
@sabau
Copy link
Contributor

sabau commented Jun 11, 2019

A better UX would be to have them as parameters at yourdapp init command?

@angelorc
Copy link
Author

Yes, exactly as you said

@alessio
Copy link
Contributor

alessio commented Jun 11, 2019

#4537 is a proposed solution to this

@fedekunze
Copy link
Collaborator

this can be done using the staking parameters. closing

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

No branches or pull requests

4 participants