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

feat(xc_admin_cli): make deactivate stake take in vote accounts #2036

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

guibescos
Copy link
Contributor

@guibescos guibescos commented Oct 11, 2024

The deactivate-stake is weird to use right now because it takes in a stake account.
Most of the time we just want to deactivate a specific validator by vote pubkey or identity pubkey.
This fixes it to take in vote pubkeys and automatically find the corresponding stake accounts.

Copy link

vercel bot commented Oct 11, 2024

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

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 0:54am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 0:54am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
proposals ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2024 0:54am

Copy link
Collaborator

@ali-bahjati ali-bahjati left a comment

Choose a reason for hiding this comment

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

Nice!

it seems one CI was broken due to node and pnpm upgrade. can you fix it before merging?

@guibescos guibescos merged commit c7d5cf0 into main Oct 16, 2024
5 of 7 checks passed
@guibescos guibescos deleted the feat/deactivate-stake-vote-accounts branch October 16, 2024 12:52
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