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

stake-pool: Update minimum reserve balance to 0 #5031

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

joncinque
Copy link
Contributor

Problem

The MINIMUM_RESERVE_BALANCE in the stake pool program is 1, which is no longer the case after solana-labs/solana#24669 was enabled on mainnet.

Solution

Update MINIMUM_RESERVE_BALANCE to 0. There was one check during increase that needed to be changed too from <= to <, and then a few places in the testing where we added an additional lamport to make stake accounts "valid".

@joncinque
Copy link
Contributor Author

Merging after getting the 👍 from Neodyme, who noticed this

@joncinque joncinque merged commit e014eae into solana-labs:master Aug 17, 2023
9 checks passed
@joncinque joncinque deleted the spnd branch August 17, 2023 10:37
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.

None yet

1 participant