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 explicit comment about get_stake_account to StakeInstruction enum #26824

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

CriesofCarrots
Copy link
Contributor

Problem

As per #26294 (comment), it's easy to miss the check needed to preserve consensus when adding a new feature-gated stake instruction while add_get_minimum_delegation_instruction_to_stake_program is not yet active.

Summary of Changes

Add explicit comment describing pattern to follow

brooksprumo
brooksprumo previously approved these changes Jul 27, 2022
Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

Love it, thank you!

@mergify mergify bot dismissed brooksprumo’s stale review July 28, 2022 02:43

Pull request has been modified.

@CriesofCarrots
Copy link
Contributor Author

Docs-only change, been through doctest CI already, merging early

@CriesofCarrots CriesofCarrots merged commit 2481ebb into solana-labs:master Jul 28, 2022
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