Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

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 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.

getStakeActivation rpc method incorrect inactive balance
1 participant