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

Rpc: deprecate getStakeActivation and make inactive_stake consistent #35419

Closed

Conversation

CriesofCarrots
Copy link
Contributor

Problem

The RPC endpoint getStakeActivation only looks at the total stake balance for the deactivating and inactive cases. This means that if an active stake account receives a transfer, the amount is not reflected in the "inactive" stake, which is confusing.

Originally here: #35116

Summary of Changes

Deprecate this confusing RPC method
Evaluate inactive_stake to the total lamports balance minus effective stake and rent-exempt reserve for all activation cases.

Fixes #35111

@CriesofCarrots
Copy link
Contributor Author

Oh dang it, github wiped the fork this was supposed to be against. Wrong repo 🙄

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.

getStakeActivation rpc method incorrect inactive balance
1 participant