From 8195a381fd73de3e59716895d2ecc285b871c544 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Wed, 31 Jul 2024 19:59:12 +0100 Subject: [PATCH] fix: use crates version of pythnet-sdk --- Cargo.lock | 7 ++++--- program/rust/Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b43d7168..7cb47d6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -369,7 +369,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4114279215a005bc675e386011e594e1d9b800918cea18fcadadcce864a2046b" dependencies = [ "borsh-derive 0.10.3", - "hashbrown 0.11.2", + "hashbrown 0.12.3", ] [[package]] @@ -2609,8 +2609,9 @@ dependencies = [ [[package]] name = "pythnet-sdk" -version = "2.1.0" -source = "git+https://github.com/pyth-network/pyth-crosschain?branch=feat/publisher-caps#76a9a50e51eed23fa123af08db7b1f79d708544e" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4f81d23a693463366640d1ba14c612841b5b07adc56ee20bbf9acaca2ad86b5" dependencies = [ "bincode", "borsh 0.10.3", diff --git a/program/rust/Cargo.toml b/program/rust/Cargo.toml index 05536b76..b755605e 100644 --- a/program/rust/Cargo.toml +++ b/program/rust/Cargo.toml @@ -17,7 +17,7 @@ num-traits = "0.2" byteorder = "1.4.3" serde = { version = "1.0", features = ["derive"], optional = true } strum = { version = "0.24.1", features = ["derive"], optional = true } -pythnet-sdk = { git = "https://github.com/pyth-network/pyth-crosschain", branch="feat/publisher-caps"} +pythnet-sdk = "2.2.0" solana-sdk = { version = "=1.14.17", optional = true } bitflags = { version = "2.6.0", features = ["bytemuck"] } @@ -31,7 +31,7 @@ rand = "0.8.5" quickcheck_macros = "1" bincode = "1.3.3" serde = { version = "1.0", features = ["derive"] } -pythnet-sdk = { git = "https://github.com/pyth-network/pyth-crosschain", branch="feat/publisher-caps", features = ["quickcheck"]} +pythnet-sdk = { version = "2.2.0" , features = ["quickcheck"]} serde_json = "1.0" test-generator = "0.3.1" csv = "1.1"