Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

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
@joncinque joncinque deleted the spnd branch August 17, 2023 10:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant