Skip to content

Conversation

@merolish
Copy link
Contributor

Trying to use newer versions of crates was choking on the Rust version so I wanted to try moving this forward. Unfortunately there are some solana version mismatches until we can move those forward to version 2.

pyth-sdk-solana = "0.10.4"
solana-account-decoder = "1.18.8"
solana-client = "1.18.8"
solana-pubkey = "2.3.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

hmmm it's strange that this was needed. can you explain a bit?

Copy link
Contributor Author

@merolish merolish Apr 14, 2025

Choose a reason for hiding this comment

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

So pyth-sdk-solana uses the solana v2 sdk but agent itself still uses v1. As best I can tell a newer Rust version changed how imports are handled. The ideal solution is to bump forward the solana sdk totally but for now I wanted to make minimum changes.

Copy link
Collaborator

@ali-behjati ali-behjati left a comment

Choose a reason for hiding this comment

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

@merolish, let's bump the solana later then.

@merolish merolish marked this pull request as ready for review April 15, 2025 01:07
@merolish merolish merged commit 13206a5 into main Apr 15, 2025
2 checks passed
@merolish merolish deleted the mike/bump-1.86.0 branch April 15, 2025 04:23
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