diff --git a/pythnet/pythnet_sdk/Cargo.toml b/pythnet/pythnet_sdk/Cargo.toml index 675e3e655a..34f447ccc1 100644 --- a/pythnet/pythnet_sdk/Cargo.toml +++ b/pythnet/pythnet_sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pythnet-sdk" -version = "2.3.0" +version = "2.3.1" description = "Pyth Runtime for Solana" authors = ["Pyth Data Association"] repository = "https://github.com/pyth-network/pythnet" diff --git a/pythnet/pythnet_sdk/src/messages.rs b/pythnet/pythnet_sdk/src/messages.rs index 12b8a18021..d151ee32cc 100644 --- a/pythnet/pythnet_sdk/src/messages.rs +++ b/pythnet/pythnet_sdk/src/messages.rs @@ -91,7 +91,8 @@ pub type Pubkey = [u8; 32]; )] pub struct PriceFeedMessage { - pub feed_id: FeedId, + /// `FeedId` but avoid the type alias because of compatibility issues with Anchor's `idl-build` feature. + pub feed_id: [u8; 32], pub price: i64, pub conf: u64, pub exponent: i32, diff --git a/target_chains/solana/Cargo.lock b/target_chains/solana/Cargo.lock index 321d44f7ba..20f00f14bb 100644 --- a/target_chains/solana/Cargo.lock +++ b/target_chains/solana/Cargo.lock @@ -3117,7 +3117,7 @@ dependencies = [ [[package]] name = "pythnet-sdk" -version = "2.3.0" +version = "2.3.1" dependencies = [ "anchor-lang", "bincode",