fix(solisting): remove pyth-solana-receiver-sdk (compile error on this toolchain); oracle reads manually

This commit is contained in:
thesn10
2026-05-28 00:04:28 +02:00
parent ac6967693a
commit 25da6f5c28
2 changed files with 19 additions and 274 deletions

View File

@@ -22,7 +22,8 @@ custom-panic = []
anchor-lang = "1.0.2"
descro = { path = "../../../descro/programs/descro", features = ["cpi"] }
descro_ext_resolvers = { path = "../../../descro/programs/descro_ext_resolvers" }
# pyth-solana-receiver-sdk = "0.3" # TODO: Use when implementing oracle - has borsh version incompatibility
# pyth-solana-receiver-sdk is not used directly — oracle.rs reads PriceUpdateV2 account data
# manually (borsh layout matching the SDK) to avoid SDK compilation issues with this Rust toolchain.
[dev-dependencies]
litesvm = "0.12.0"