Skip to content
6 changes: 3 additions & 3 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.6.1"
version = "1.0.0"
description = "SDK for the Pyth Solana Receiver program"
authors = ["Pyth Data Association"]
repository = "https://github.com/pyth-network/pyth-crosschain"
Expand All @@ -15,8 +15,8 @@ name = "pyth_solana_receiver_sdk"
[dependencies]
anchor-lang = ">=0.28.0"
hex = ">=0.4.3"
bytemuck_derive = "<=1.8.1" # After this version, MSRV 1.84 is required.
# bytemuck_derive = "<=1.8.1" # After this version, MSRV 1.84 is required.
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", version = "2.1.0", features = [
"solana-program",
] }
solana-program = ">=1.16.0"
# solana-program = ">=1.16.0"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use {anchor_lang::prelude::*, solana_program::pubkey::Pubkey};
use {anchor_lang::prelude::*, anchor_lang::solana_program::pubkey::Pubkey};

#[account]
#[derive(Debug, PartialEq)]
Expand Down
2 changes: 1 addition & 1 deletion target_chains/solana/pyth_solana_receiver_sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#![allow(clippy::result_large_err)]

use {
anchor_lang::solana_program::{pubkey, pubkey::Pubkey},
anchor_lang::{declare_id, prelude::*},
borsh::{BorshDeserialize, BorshSerialize},
pythnet_sdk::wire::v1::MerklePriceUpdate,
solana_program::{pubkey, pubkey::Pubkey},
};

pub mod config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pub use pythnet_sdk::messages::{FeedId, PriceFeedMessage};
use {
crate::{check, error::GetPriceError},
anchor_lang::prelude::{borsh::BorshSchema, *},
solana_program::pubkey::Pubkey,
anchor_lang::solana_program::pubkey::Pubkey,
};

/// Pyth price updates are bridged to all blockchains via Wormhole.
Expand Down
Loading