Skip to content

Commit 7612ad8

Browse files
authored
fix: cap solana version (#2066)
* go * go * fix: warning
1 parent b60a7cd commit 7612ad8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

target_chains/solana/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/solana/pyth_solana_receiver_sdk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-solana-receiver-sdk"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "SDK for the Pyth Solana Receiver program"
55
authors = ["Pyth Data Association"]
66
repository = "https://github.com/pyth-network/pyth-crosschain"
@@ -16,4 +16,4 @@ name = "pyth_solana_receiver_sdk"
1616
anchor-lang = ">=0.28.0"
1717
hex = ">=0.4.3"
1818
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", version = "2.1.0", features = ["solana-program"]}
19-
solana-program = ">=1.16.0"
19+
solana-program = ">=1.16.0, <2.0.0"

target_chains/solana/pyth_solana_receiver_sdk/src/price_update.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ use {
2828
/// Using partially verified price updates is dangerous, as it lowers the threshold of guardians that need to collude to produce a malicious price update.
2929
#[derive(AnchorSerialize, AnchorDeserialize, Copy, Clone, PartialEq, BorshSchema, Debug)]
3030
pub enum VerificationLevel {
31-
Partial { num_signatures: u8 },
31+
Partial {
32+
#[allow(unused)]
33+
num_signatures: u8,
34+
},
3235
Full,
3336
}
3437

0 commit comments

Comments
 (0)