Skip to content

Commit f9de543

Browse files
authored
Move deps to the workspace level (#1332)
1 parent be902e1 commit f9de543

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed

target_chains/solana/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/solana/Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ incremental = false
1616
codegen-units = 1
1717

1818
[workspace.dependencies]
19-
wormhole-core-bridge-solana = {git = "https://github.com/wormhole-foundation/wormhole", branch = "wen/solana-rewrite"}
19+
wormhole-core-bridge-solana = {git = "https://github.com/wormhole-foundation/wormhole", rev = "7bd40b595e22c5512dfaa2ed8e6d7441df743a69"}
2020
wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" }
2121
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" }
22+
anchor-lang = "0.28.0"
23+
anchor-client = "0.28.0"
24+
solana-program = "1.16.20"
25+
solana-program-test = "1.16.20"
26+
solana-sdk = "1.16.20"
27+
solana-client = "1.16.20"

target_chains/solana/cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ edition = "2021"
77
anyhow = "1.0.65"
88
base64 = "0.13.0"
99
shellexpand = "2.1.2"
10-
solana-sdk = "1.16.20"
11-
solana-client = "1.16.20"
12-
anchor-client = "0.28.0"
10+
solana-sdk = { workspace = true }
11+
solana-client = { workspace = true }
12+
anchor-client = { workspace = true }
1313
clap = {version ="3.2.22", features = ["derive"]}
1414
pyth-solana-receiver = {path = "../programs/pyth-solana-receiver" }
1515
wormhole-solana = { git = "https://github.com/guibescos/wormhole", branch = "reisen/sdk-solana"} # Used for initializing the wormhole receiver

target_chains/solana/program_simulator/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ name = "program_simulator"
99

1010

1111
[dependencies]
12-
solana-sdk = "1.16.20"
13-
solana-client = "1.16.20"
14-
solana-program-test = "1.16.20"
15-
solana-program = "1.16.20"
16-
bincode = "1.3.3"
17-
borsh = "0.10.3"
18-
anchor-lang = "0.28.0"
12+
solana-sdk = "*"
13+
solana-client = "*"
14+
solana-program-test = "*"
15+
solana-program = "*"
16+
bincode = "*"
17+
borsh = "*"
18+
anchor-lang = ">=0.28.0"

target_chains/solana/programs/pyth-solana-receiver/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ cpi = ["no-entrypoint"]
1616
test-bpf = []
1717

1818
[dependencies]
19-
anchor-lang = "0.28.0"
19+
anchor-lang = { workspace = true }
2020
pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk" }
21-
solana-program = "1.16.20"
21+
solana-program = { workspace = true }
2222
byteorder = "1.4.3"
2323
wormhole-core-bridge-solana = {workspace = true}
2424
wormhole-raw-vaas = {version = "0.1.3", features = ["ruint", "on-chain"], default-features = false }
@@ -27,8 +27,8 @@ pyth-solana-receiver-state = { path = "../../pyth_solana_receiver_state"}
2727
[dev-dependencies]
2828
pyth-sdk = "0.8.0"
2929
pyth-sdk-solana = "0.8.0"
30-
solana-program-test = "1.16.20"
31-
solana-sdk = "1.16.20"
30+
solana-program-test = { workspace = true }
31+
solana-sdk = { workspace = true }
3232
tokio = "1.14.1"
3333
bincode = "1.3.3"
3434
libsecp256k1 = "0.7.1"

0 commit comments

Comments
 (0)