Skip to content

Conversation

@taharshd
Copy link

Matched the Anchor and Solana required versions with the new changes in Cargo.toml.

Matched the Anchor and Solana required versions with the new changes in `Cargo.toml`.
Copilot AI review requested due to automatic review settings October 24, 2025 19:43
Copy link
Contributor

Copilot AI left a 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
Copy link

Copilot AI Oct 24, 2025

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'.

Suggested change
## Compatibiltiy
## Compatibility

Copilot uses AI. Check for mistakes.
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:
Copy link

Copilot AI Oct 24, 2025

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'.

Suggested change
- 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:

Copilot uses AI. Check for mistakes.
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.

1 participant