Skip to content

Commit 6f4a4c0

Browse files
authored
Update dependency requirements for Solana related dependencies (#75)
1 parent 2a4bedd commit 6f4a4c0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/pyth-sdk-solana.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: sudo apt-get update && sudo apt-get install libudev-dev
3535
- name: Install Solana Binaries
3636
run: |
37-
sh -c "$(curl -sSfL https://release.solana.com/v1.8.14/install)"
37+
sh -c "$(curl -sSfL https://release.solana.com/v1.10.40/install)"
3838
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3939
- name: Build
4040
run: cargo build --verbose

pyth-sdk-solana/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = [ "pyth", "solana", "oracle" ]
1111
readme = "README.md"
1212

1313
[dependencies]
14-
solana-program = "1.8.1, < 1.11"
14+
solana-program = "1.10.40"
1515
borsh = "0.9"
1616
borsh-derive = "0.9.0"
1717
bytemuck = "1.7.2"
@@ -22,8 +22,8 @@ serde = { version = "1.0.136", features = ["derive"] }
2222
pyth-sdk = { path = "../pyth-sdk", version = "0.6.1" }
2323

2424
[dev-dependencies]
25-
solana-client = "1.8.1, < 1.11"
26-
solana-sdk = "1.8.1, < 1.11"
25+
solana-client = "1.10.40"
26+
solana-sdk = "1.10.40"
2727

2828
[lib]
2929
crate-type = ["cdylib", "lib"]

pyth-sdk-solana/test-contract/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ no-entrypoint = []
99

1010
[dependencies]
1111
pyth-sdk-solana = { path = "../", version = "0.6.1" }
12-
solana-program = "1.8.1, < 1.11" # Currently latest Solana 1.11 crate can't build bpf: https://github.com/solana-labs/solana/issues/26188
12+
solana-program = "1.10.40"
1313
bytemuck = "1.7.2"
1414
borsh = "0.9"
1515
borsh-derive = "0.9.0"
1616

1717
[dev-dependencies]
18-
solana-program-test = "1.8.1, < 1.11"
19-
solana-client = "1.8.1, < 1.11"
20-
solana-sdk = "1.8.1, < 1.11"
18+
solana-program-test = "1.10.40"
19+
solana-client = "1.10.40"
20+
solana-sdk = "1.10.40"
2121

2222
[lib]
2323
crate-type = ["cdylib", "lib"]

0 commit comments

Comments
 (0)