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 extra fields to GlobalConfig and StakeAccountMetadata #245

Merged
merged 15 commits into from
Oct 16, 2023

Conversation

guibescos
Copy link
Contributor

@guibescos guibescos commented Oct 13, 2023

  • Add pda_authority to GlobalConfig to authorize transfers
  • Add governance_program to GlobalConfig. It used to be hardcoded.
  • Add transfer_epoch to StakeAccountMetadataV2, this field marks accounts that have been created by transferring another account, and forbids transferred stake to vote for one epoch to prevent double voting.

@vercel
Copy link

vercel bot commented Oct 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2023 4:38pm
staking-devnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2023 4:38pm

@guibescos guibescos changed the title Draft Add extra fields to GlobalConfig and StakeAccountMetadata Oct 16, 2023
@guibescos guibescos marked this pull request as ready for review October 16, 2023 14:49
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