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

Add option for "primordial stakes" #66

Open
CriesofCarrots opened this issue Aug 5, 2024 · 1 comment
Open

Add option for "primordial stakes" #66

CriesofCarrots opened this issue Aug 5, 2024 · 1 comment

Comments

@CriesofCarrots
Copy link
Contributor

Problem

In the /net scripts, non-bootstrap validators are staked by writing the stake accounts into genesis (these were called "primordial stakes" over there). Validator Lab, on the other hand, uses the solana-cli to stake the other validators after the cluster boots. This is inconvenient because it means that it may take several epochs for all the stake to warm up, ie. if the validators are staked somewhat evenly to the bootstrap (which is desirable if you want those other nodes to have a strong presence in the leader schedule).

Proposed Solution

Change behavior of --internal-node-stake-sol or add new option to allow writing non-bootstrap validator stake into genesis. This probably requires writing the vote accounts as well.

@gregcusack
Copy link
Collaborator

I'll look into this and see if I can get this built this in the next day or two. not sure why I didn't build this from the start.

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

2 participants