* Fix compatibility with Anchor's idl-build * bump * cargo lock * format --------- Co-authored-by: Olivier Eblé <olivier@eble.fr>
@@ -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"
@@ -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,
@@ -3117,7 +3117,7 @@ dependencies = [
[[package]]
dependencies = [
"anchor-lang",
"bincode",