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 commission arg #60

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Add commission arg #60

merged 2 commits into from
Jul 29, 2024

Conversation

CriesofCarrots
Copy link
Contributor

In order to test staking rewards, we need clusters of validators with less than 100% commission.

Add commission cli arg; the default value is 100, which is the same default that solana-genesis and solana create-vote-account use if no --vote-commission-percentage or --commission argument is present (respectively).
The same commission value applies to the vote accounts of all nodes in the cluster.

Copy link
Collaborator

@gregcusack gregcusack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a small nit. thank you!

src/main.rs Outdated Show resolved Hide resolved
@CriesofCarrots CriesofCarrots merged commit ae44093 into anza-xyz:main Jul 29, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants