pyth-network / pyth-crosschain

Crosschain Pyth programs and utilities
https://pyth.network
Other
144 stars 195 forks source link

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

Closed guibescos closed 4 days ago

guibescos commented 1 week ago

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.

vercel[bot] commented 1 week ago

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](https://vercel.com/pyth-network/proposals/BjZRvjGjywYcbuLXWayKo2HoTazU)) | [Visit Preview](https://proposals-git-feat-deactivate-stake-vote-accounts-pyth-network.vercel.app) | | Oct 16, 2024 0:54am |