@@ -3120,7 +3120,7 @@ dependencies = [
[[package]]
name = "pyth-solana-receiver-sdk"
-version = "0.6.0"
+version = "0.6.1"
dependencies = [
"anchor-lang",
"bytemuck_derive",
@@ -1,6 +1,6 @@
[package]
description = "SDK for the Pyth Solana Receiver program"
authors = ["Pyth Data Association"]
repository = "https://github.com/pyth-network/pyth-crosschain"
@@ -160,7 +160,8 @@ impl TwapUpdate {
/// This type is used to persist the calculated TWAP in TwapUpdate accounts on Solana.
#[derive(AnchorSerialize, AnchorDeserialize, Copy, Clone, PartialEq, BorshSchema, Debug)]
pub struct TwapPrice {
- 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 start_time: i64,
pub end_time: i64,
pub price: i64,