Skip to content

Commit 1acfc3d

Browse files
authoredDec 12, 2023
Merge pull request #111 from destealth/solana-17
Allow solana-program 1.17
2 parents cc87e4c + 4040996 commit 1acfc3d

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed
 

‎.github/workflows/pyth-sdk-example-anchor-contract.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install solana binaries
2323
run: |
2424
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
25-
sh -c "$(curl -sSfL https://release.solana.com/v1.16.0/install)"
25+
sh -c "$(curl -sSfL https://release.solana.com/v1.17.0/install)"
2626
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2727
- name: Install anchor binaries
2828
run: |

‎.github/workflows/pyth-sdk-example-solana-contract.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install solana binaries
2323
run: |
2424
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
25-
sh -c "$(curl -sSfL https://release.solana.com/v1.16.0/install)"
25+
sh -c "$(curl -sSfL https://release.solana.com/v1.17.0/install)"
2626
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2727
- name: Build
2828
run: scripts/build.sh

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
run: sudo apt-get update && sudo apt-get install libudev-dev
3535
- name: Install Solana Binaries
3636
run: |
37-
# Installing 1.16.x cli tools to have sbf instead of bpf. bpf does not work anymore.
38-
sh -c "$(curl -sSfL https://release.solana.com/v1.16.0/install)"
37+
# Installing 1.17.x cli tools to have sbf instead of bpf. bpf does not work anymore.
38+
sh -c "$(curl -sSfL https://release.solana.com/v1.17.0/install)"
3939
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
4040
- name: Build
4141
run: cargo build --verbose

‎examples/sol-anchor-contract/programs/sol-anchor-contract/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ default = []
1919
[dependencies]
2020
anchor-lang = "0.28.0"
2121
pyth-sdk = { path = "../../../../pyth-sdk", version = "0.8.0" }
22-
pyth-sdk-solana = { path = "../../../../pyth-sdk-solana", version = "0.8.0" }
22+
pyth-sdk-solana = { path = "../../../../pyth-sdk-solana", version = "0.9.0" }

‎examples/sol-contract/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "example-sol-contract"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Pyth Data Foundation"]
55
edition = "2021"
66

@@ -10,5 +10,5 @@ crate-type = ["cdylib", "lib"]
1010
[dependencies]
1111
borsh = "0.10.3"
1212
arrayref = "0.3.6"
13-
solana-program = ">= 1.10, <= 1.16"
14-
pyth-sdk-solana = { path = "../../pyth-sdk-solana", version = "0.8.0" }
13+
solana-program = ">= 1.10"
14+
pyth-sdk-solana = { path = "../../pyth-sdk-solana", version = "0.9.0" }

‎pyth-sdk-solana/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-sdk-solana"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
authors = ["Pyth Data Foundation"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -11,7 +11,7 @@ keywords = [ "pyth", "solana", "oracle" ]
1111
readme = "README.md"
1212

1313
[dependencies]
14-
solana-program = ">= 1.9, <= 1.16"
14+
solana-program = ">= 1.9"
1515
borsh = "0.10.3"
1616
borsh-derive = "0.10.3"
1717
bytemuck = "1.7.2"
@@ -22,8 +22,8 @@ serde = { version = "1.0.136", features = ["derive"] }
2222
pyth-sdk = { path = "../pyth-sdk", version = "0.8.0" }
2323

2424
[dev-dependencies]
25-
solana-client = ">= 1.9, <= 1.16"
26-
solana-sdk = ">= 1.9, <= 1.16"
25+
solana-client = ">= 1.9"
26+
solana-sdk = ">= 1.9"
2727

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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "test-contract"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
edition = "2018"
55

66
[features]
77
test-bpf = []
88
no-entrypoint = []
99

1010
[dependencies]
11-
pyth-sdk-solana = { path = "../", version = "0.8.0" }
11+
pyth-sdk-solana = { path = "../", version = "0.9.0" }
1212
solana-program = ">= 1.10, <= 1.16"
1313
bytemuck = "1.7.2"
1414
borsh = "0.10.3"

0 commit comments

Comments
 (0)