From 5afdaf8bfa80cc16b779d861a358e2cb8f2cc660 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 10 Dec 2024 09:10:52 -0800 Subject: [PATCH] use remote pyth-crosschain version --- Cargo.lock | 3 +++ programs/drift/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index c91b3e2da..d498d6b5f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1853,6 +1853,7 @@ checksum = "44de48029c54ec1ca570786b5baeb906b0fc2409c8e0145585e287ee7a526c72" [[package]] name = "pyth-lazer-protocol" version = "0.1.0" +source = "git+https://github.com/drift-labs/pyth-crosschain?rev=776b6f772ba8ae49f26d16d04649073c3d6f77cf#776b6f772ba8ae49f26d16d04649073c3d6f77cf" dependencies = [ "anyhow", "byteorder", @@ -1865,6 +1866,7 @@ dependencies = [ [[package]] name = "pyth-lazer-sdk" version = "0.1.0" +source = "git+https://github.com/drift-labs/pyth-crosschain?rev=776b6f772ba8ae49f26d16d04649073c3d6f77cf#776b6f772ba8ae49f26d16d04649073c3d6f77cf" dependencies = [ "anchor-lang", "bytemuck", @@ -1878,6 +1880,7 @@ dependencies = [ [[package]] name = "pyth-lazer-solana-contract" version = "0.1.0" +source = "git+https://github.com/drift-labs/pyth-crosschain?rev=776b6f772ba8ae49f26d16d04649073c3d6f77cf#776b6f772ba8ae49f26d16d04649073c3d6f77cf" dependencies = [ "anchor-lang", ] diff --git a/programs/drift/Cargo.toml b/programs/drift/Cargo.toml index 8115fd2b5..e15689367 100644 --- a/programs/drift/Cargo.toml +++ b/programs/drift/Cargo.toml @@ -22,7 +22,7 @@ anchor-lang = "0.29.0" solana-program = "1.16" anchor-spl = "0.29.0" pyth-client = "0.2.2" -pyth-lazer-sdk = { path = "../../../pyth-crosschain/lazer/sdk/solana"} +pyth-lazer-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "776b6f772ba8ae49f26d16d04649073c3d6f77cf"} pythnet-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "3e8a24ecd0bcf22b787313e2020f4186bb22c729"} pyth-solana-receiver-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "3e8a24ecd0bcf22b787313e2020f4186bb22c729"} bytemuck = { version = "1.4.0" }