Skip to content

[solana] Fix guardian set owner bug #1214

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
Jan 8, 2024
Merged

Conversation

guibescos
Copy link
Contributor

@guibescos guibescos commented Jan 8, 2024

In Anchor the owners of accounts are hardcoded in the struct.
For example when we import GuardianSet, Anchor expects the owner of such account to be worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth (the official wormhole contract).

For us we want to be flexible and get the address of wormhole from the config, therefore we need to work around this and implement some stuff manually.

Copy link

vercel bot commented Jan 8, 2024

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

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2024 7:16pm
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2024 7:16pm

@guibescos guibescos changed the title Fix the owner bug [solana] Fix guardian set owner Jan 8, 2024
@guibescos guibescos changed the title [solana] Fix guardian set owner [solana] Fix guardian set owner bug Jan 8, 2024
@guibescos guibescos marked this pull request as ready for review January 8, 2024 19:20
@guibescos guibescos merged commit e388281 into main Jan 8, 2024
@guibescos guibescos deleted the solana/fix-guardian-set-bug branch January 8, 2024 19:58
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