Skip to content

Commit 03eb8fb

Browse files
authored
docs: Update Anchor and Solana program versions in README
Matched the Anchor and Solana required versions with the new changes in `Cargo.toml`.
1 parent 3c0f9a2 commit 03eb8fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rust-sdk/client/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
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.
55

66
## Compatibiltiy
7-
- Compatible with `anchor` versions `^0.26` but `<0.30`. If you enable the `anchor` feature of `orca_whirlpools_client` in `cargo.toml` while using a version of anchor that's `^0.30` in your project, you may need to apply a lockfile patch to switch to a lower version:
7+
- Compatible with `anchor` versions `^0.31`. If you enable the `anchor` feature of `orca_whirlpools_client` in `cargo.toml` while using a version of anchor that's `<0.31` in your project, you may need to apply a lockfile patch to switch to a higher version:
88
```bash
9-
cargo update anchor:<current-version> --precise 0.29
9+
cargo update anchor:<current-version> --precise 0.31
1010
```
11-
- 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:
11+
- 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:
1212
```bash
1313
cargo update solana-program:<current-version> --precise <required-version>
1414
```
@@ -97,4 +97,4 @@ fn main() {
9797
9898
println!("{:?}", initialize_pool_v2_instruction);
9999
}
100-
```
100+
```

0 commit comments

Comments
 (0)