-
Notifications
You must be signed in to change notification settings - Fork 293
docs: Update Anchor and Solana program versions in README #1155
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
base: main
Are you sure you want to change the base?
Conversation
Matched the Anchor and Solana required versions with the new changes in `Cargo.toml`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the compatibility documentation for the Orca Whirlpools Rust SDK client to reflect updated dependency requirements for Anchor and Solana. The changes align the README with the versions specified in Cargo.toml.
- Updated Anchor compatibility from
^0.26(but<0.30) to^0.31 - Updated Solana program compatibility from
^1.18.0(but<3.0.0) to^2.0.0 - Adjusted upgrade instructions to match new version requirements
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ## Overview | ||
| This package provides developers with low-level functionalities for interacting with the Whirlpool Program on Solana. It serves as a foundational tool that allows developers to manage and integrate detailed operations into their Rust projects, particularly those related to Orca's Whirlpool Program. This package offers granular control for advanced use cases. | ||
|
|
||
| ## Compatibiltiy |
Copilot
AI
Oct 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'Compatibiltiy' to 'Compatibility'.
| ## Compatibiltiy | |
| ## Compatibility |
| cargo update anchor:<current-version> --precise 0.31 | ||
| ``` | ||
| - Compatible with `solana-program` versions `^1.18.0` but `<3.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependcy issues when using older versions. To solve this you can apply a lockfile patch with the following command: | ||
| - Compatible with `solana-program` versions `^2.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependcy issues when using older versions. To solve this you can apply a lockfile patch with the following command: |
Copilot
AI
Oct 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'dependcy' to 'dependency'.
| - Compatible with `solana-program` versions `^2.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependcy issues when using older versions. To solve this you can apply a lockfile patch with the following command: | |
| - Compatible with `solana-program` versions `^2.0.0`. By default, Cargo will install the latest version of Solana SDK `^v2`. This can cause dependency issues when using older versions. To solve this you can apply a lockfile patch with the following command: |
Matched the Anchor and Solana required versions with the new changes in
Cargo.toml.