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

feat: Allow unequal distribution of stake among validators #1027

Closed
fastfadingviolets opened this issue Mar 18, 2024 · 0 comments · Fixed by #1039
Closed

feat: Allow unequal distribution of stake among validators #1027

fastfadingviolets opened this issue Mar 18, 2024 · 0 comments · Fixed by #1039
Assignees

Comments

@fastfadingviolets
Copy link
Contributor

fastfadingviolets commented Mar 18, 2024

Problem

Currently, all validators start up with the same amount of stake. It's possible to modify what this stake is via ModifyGenesisAmounts in the chain configuration, but that still assumes a single set of genesis and self-delegation amounts, with no way to set it per-validator. This makes it hard to reproduce certain bugs that happen when there's an unequal distribution of stake; one such bug was found on gaia v15.1.0-rc0, for instance.

Proposal

ModifyGenesisAmounts should take a validator index; the returned amounts will be used for that specific validator.

If this sounds like a good idea, I can put up a PR.

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