Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-pythnet-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- run: cargo publish --token ${CARGO_REGISTRY_TOKEN}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
working-directory: "pythnet/pythnet_sdk"
working-directory: "sdks/pythnet_sdk/rust"
2 changes: 1 addition & 1 deletion apps/fortuna/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions target_chains/cosmwasm/contracts/pyth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion target_chains/fuel/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion target_chains/near/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ hex = { version = "0.4.3" }
near-sdk = { version = "5.5.0" }
num-traits = { version = "0.2.15" }
num-derive = { version = "0.3.3" }
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk" }
pythnet-sdk = { path = "../../../sdks/pythnet_sdk/rust" }
pyth-near = { path = "../receiver", features = ["library"] }
strum = { version = "0.24.1", features = ["derive"] }
thiserror = { version = "1.0.38" }
Expand Down
4 changes: 2 additions & 2 deletions target_chains/near/receiver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ num-traits = { version = "0.2.15" }
num-derive = { version = "0.3.3" }
pyth-wormhole-attester-sdk = { path = "../../../wormhole_attester/sdk/rust" }
pyth-sdk = { version = "0.7.0" }
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk" }
pythnet-sdk = { path = "../../../sdks/pythnet_sdk/rust" }
schemars = { version = "0.8.21" }
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag="rust-sdk-2024-01-25" }
strum = { version = "0.24.1", features = ["derive"] }
Expand All @@ -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"] }


Expand Down
2 changes: 1 addition & 1 deletion target_chains/solana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM backpackapp/build:v0.29.0@sha256:9aee169b2d8b89b4a4243419ae35c176773136e78d

WORKDIR /workspace

COPY pythnet/pythnet_sdk pythnet/pythnet_sdk
COPY sdks/pythnet_sdk/rust sdks/pythnet_sdk/rust
COPY target_chains/solana target_chains/solana

WORKDIR /workspace/target_chains/solana
Expand Down
2 changes: 1 addition & 1 deletion target_chains/solana/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ anchor-client = { workspace = true }
clap = { version = "3.2.22", features = ["derive"] }
pyth-solana-receiver = { path = "../programs/pyth-solana-receiver" }
wormhole-solana = { git = "https://github.com/guibescos/wormhole", branch = "reisen/sdk-solana" } # Used for initializing the wormhole receiver
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", version = "2.0.0" }
pythnet-sdk = { path = "../../../sdks/pythnet_sdk/rust", version = "2.0.0" }
wormhole-vaas-serde = { workspace = true }
serde_wormhole = { workspace = true }
hex = "0.4.3"
Expand Down
2 changes: 1 addition & 1 deletion target_chains/solana/common_test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lazy_static = "1.4.0"
program-simulator = { path = "../program_simulator" }
wormhole-vaas-serde = { workspace = true }
serde_wormhole = { workspace = true }
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", features = ["test-utils"] }
pythnet-sdk = { path = "../../../sdks/pythnet_sdk/rust", features = ["test-utils"] }
anchor-lang = { workspace = true }
solana-program = { workspace = true }
pyth-solana-receiver = { path = "../programs/pyth-solana-receiver" }
Expand Down
2 changes: 1 addition & 1 deletion target_chains/solana/programs/pyth-push-oracle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test-bpf = []

[dependencies]
anchor-lang = { workspace = true }
pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk" }
pythnet-sdk = { path = "../../../../sdks/pythnet_sdk/rust" }
solana-program = { workspace = true }
byteorder = "1.4.3"
pyth-solana-receiver-sdk = { path = "../../pyth_solana_receiver_sdk"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test-bpf = []

[dependencies]
anchor-lang = { workspace = true }
pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk", features = [
pythnet-sdk = { path = "../../../../sdks/pythnet_sdk/rust", features = [
"solana-program",
] }
solana-program = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion target_chains/solana/pyth_solana_receiver_sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "pyth_solana_receiver_sdk"
[dependencies]
anchor-lang = ">=0.28.0"
hex = ">=0.4.3"
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", version = "2.1.0", features = [
pythnet-sdk = { path = "../../../sdks/pythnet_sdk/rust", version = "2.1.0", features = [
"solana-program",
] }
solana-program = ">=1.16.0, <2.0.0"
Loading