Skip to content

Commit

Permalink
fix: cap solana version (#2066)
Browse files Browse the repository at this point in the history
* go

* go

* fix: warning
  • Loading branch information
guibescos authored Oct 29, 2024
1 parent b60a7cd commit 7612ad8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion target_chains/solana/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions target_chains/solana/pyth_solana_receiver_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyth-solana-receiver-sdk"
version = "0.3.1"
version = "0.3.2"
description = "SDK for the Pyth Solana Receiver program"
authors = ["Pyth Data Association"]
repository = "https://github.com/pyth-network/pyth-crosschain"
Expand All @@ -16,4 +16,4 @@ name = "pyth_solana_receiver_sdk"
anchor-lang = ">=0.28.0"
hex = ">=0.4.3"
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", version = "2.1.0", features = ["solana-program"]}
solana-program = ">=1.16.0"
solana-program = ">=1.16.0, <2.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ use {
/// Using partially verified price updates is dangerous, as it lowers the threshold of guardians that need to collude to produce a malicious price update.
#[derive(AnchorSerialize, AnchorDeserialize, Copy, Clone, PartialEq, BorshSchema, Debug)]
pub enum VerificationLevel {
Partial { num_signatures: u8 },
Partial {
#[allow(unused)]
num_signatures: u8,
},
Full,
}

Expand Down

0 comments on commit 7612ad8

Please sign in to comment.