Skip to content

feat(lazer/publisher_sdk): add wormhole governance source proto #2719

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

ali-behjati
Copy link
Collaborator

Summary

Add wormhole governance source for the governance instructions.

Rationale

Governance actions are going to come from the Pyth DAO councils that live on Solana.

@ali-behjati ali-behjati requested a review from Riateche May 22, 2025 11:39
Copy link

vercel bot commented May 22, 2025

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 May 23, 2025 10:04am
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 10:04am

@@ -12,10 +12,9 @@ import "dynamic_value.proto";
package pyth_lazer_transaction;

// Representation of a complete governance instruction. This value will be signed
// by a governance source.
// by a governance source. If the governance source is Wormhole emitter, the VAA payload will
// be the encoded `GovernanceInstruction` message.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the VAA that comes from Pyth Governance will also contain the PythGovernanceHeader in its existing encoding.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks.

@ali-behjati ali-behjati merged commit 0a388dd into main May 23, 2025
11 checks passed
@ali-behjati ali-behjati deleted the wormhole-governance-proto branch May 23, 2025 10:18
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.

3 participants