Bläddra i källkod

refactor: update remaining pythnet-sdk paths

Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>
Devin AI 9 månader sedan
förälder
incheckning
419e180538

+ 1 - 1
apps/fortuna/Cargo.toml

@@ -16,7 +16,7 @@ ethers = { version = "2.0.14", features = ["ws"] }
 futures = { version = "0.3.28" }
 hex = "0.4.3"
 prometheus-client = { version = "0.21.2" }
-pythnet-sdk = { path = "../../pythnet/pythnet_sdk", features = ["strum"] }
+pythnet-sdk = { path = "../../sdks/pythnet_sdk/rust", features = ["strum"] }
 rand = "0.8.5"
 reqwest = { version = "0.11.22", features = ["json", "blocking"] }
 serde = { version = "1.0.188", features = ["derive"] }

+ 1 - 1
apps/hermes/server/Cargo.toml

@@ -31,7 +31,7 @@ prometheus-client  = { version = "0.21.2" }
 prost              = { version = "0.12.1" }
 pyth-sdk           = { version = "0.8.0" }
 pyth-sdk-solana    = { version = "0.10.3" }
-pythnet-sdk        = { path = "../../../pythnet/pythnet_sdk/", version = "2.0.0", features = ["strum"] }
+pythnet-sdk        = { path = "../../../sdks/pythnet_sdk/rust", version = "2.0.0", features = ["strum"] }
 rand               = { version = "0.8.5" }
 reqwest            = { version = "0.11.14", features = ["blocking", "json"] }
 rust_decimal       = { version = "1.36.0" }

+ 1 - 1
apps/hermes/server/Dockerfile

@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install --yes \
 # Build
 WORKDIR /src
 COPY apps/hermes/server apps/hermes/server
-COPY pythnet/pythnet_sdk pythnet/pythnet_sdk
+COPY sdks/pythnet_sdk/rust sdks/pythnet_sdk/rust
 
 
 WORKDIR /src/apps/hermes/server

+ 2 - 2
target_chains/cosmwasm/contracts/pyth/Cargo.toml

@@ -39,12 +39,12 @@ byteorder = "1.4.3"
 cosmwasm-schema = "1.1.9"
 osmosis-std = "0.15.2"
 pyth-sdk-cw = { path = "../../sdk/rust" }
-pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk" }
+pythnet-sdk = { path = "../../../../sdks/pythnet_sdk/rust" }
 wormhole-cosmwasm =  {git = "https://github.com/wormhole-foundation/wormhole", tag="rust-sdk-2024-01-25"}
 
 [dev-dependencies]
 cosmwasm-vm = { version = "1.0.0", default-features = false }
 serde_json = "1.0"
-pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk", features = ["test-utils"] }
+pythnet-sdk = { path = "../../../../sdks/pythnet_sdk/rust", features = ["test-utils"] }
 serde_wormhole = "0.1.0"
 wormhole-vaas-serde = "0.1.0"

+ 1 - 1
target_chains/fuel/contracts/Cargo.toml

@@ -17,7 +17,7 @@ serde_json = "1.0.114"
 serde = "1.0.197"
 dotenv = "0.15.0"
 libsecp256k1 = "0.7.1"
-pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", features = ["test-utils"] }
+pythnet-sdk = { path = "../../../sdks/pythnet_sdk/rust", features = ["test-utils"] }
 sha3 = "0.10.8"
 serde_wormhole = { version ="0.1.0" }
 wormhole-vaas-serde = { version = "0.1.0" }

+ 1 - 1
target_chains/near/receiver/Cargo.toml

@@ -37,7 +37,7 @@ tokio                      = { version = "1.23.0", features = ["full"] }
 serde_wormhole             = { git = "https://github.com/wormhole-foundation/wormhole", tag="rust-sdk-2024-01-25" }
 near-workspaces            = { version = "0.14.1" }
 wormhole-sdk               = { git = "https://github.com/wormhole-foundation/wormhole", tag="rust-sdk-2024-01-25" }
-pythnet-sdk                = { path = "../../../pythnet/pythnet_sdk", features = ["test-utils"] }
+pythnet-sdk                = { path = "../../../sdks/pythnet_sdk/rust", features = ["test-utils"] }
 near-sdk                   = { version = "*", features = ["unit-testing"] }