Skip to content

Commit 9a36898

Browse files
guibescosoeble
andauthored
fix: anchor idl gen (#2108)
* Fix compatibility with Anchor's idl-build * bump * cargo lock * format --------- Co-authored-by: Olivier Eblé <olivier@eble.fr>
1 parent f1c8493 commit 9a36898

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pythnet/pythnet_sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pythnet-sdk"
3-
version = "2.3.0"
3+
version = "2.3.1"
44
description = "Pyth Runtime for Solana"
55
authors = ["Pyth Data Association"]
66
repository = "https://github.com/pyth-network/pythnet"

pythnet/pythnet_sdk/src/messages.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ pub type Pubkey = [u8; 32];
9191
)]
9292

9393
pub struct PriceFeedMessage {
94-
pub feed_id: FeedId,
94+
/// `FeedId` but avoid the type alias because of compatibility issues with Anchor's `idl-build` feature.
95+
pub feed_id: [u8; 32],
9596
pub price: i64,
9697
pub conf: u64,
9798
pub exponent: i32,

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.

0 commit comments

Comments
 (0)