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

Fix pythnet_sdk compatibility with Anchor's idl-build #2086

Closed

Conversation

oeble
Copy link
Contributor

@oeble oeble commented Nov 3, 2024

A new method for computing the IDL of a smart contract was introduced in Solana's Anchor framework version 0.29. This method relies on the derive of AnchorSerialize trait when the feature idl-build is activated. However, the derive fails on type aliases like FeedId

This PR simply replaces the occurrence of FeedId in PriceFeedMessage with the underlying type to work around this limitation.

Copy link

vercel bot commented Nov 3, 2024

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 11:34pm
insights ⬜️ Ignored (Inspect) Visit Preview Nov 3, 2024 11:34pm

Copy link

vercel bot commented Nov 3, 2024

@oeble is attempting to deploy a commit to the Pyth Network Team on Vercel.

A member of the Team first needs to authorize it.

@oeble
Copy link
Contributor Author

oeble commented Nov 12, 2024

@guibescos Could you explain why this was closed?

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