Skip to content

Commit 4ffeb9f

Browse files
authored
chore: use published version of wormhole packages (#1375)
* Go * 0.1.0
1 parent 1e5df85 commit 4ffeb9f

File tree

5 files changed

+38
-25
lines changed

5 files changed

+38
-25
lines changed

pythnet/pythnet_sdk/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ crate-type = ["lib"]
1111
name = "pythnet_sdk"
1212

1313
[features]
14-
test-utils = ["dep:wormhole-sdk", "dep:serde_wormhole", "dep:libsecp256k1", "dep:rand"]
14+
test-utils = ["dep:wormhole-vaas-serde", "dep:serde_wormhole", "dep:libsecp256k1", "dep:rand"]
1515

1616
[dependencies]
1717
bincode = "1.3.1"
@@ -26,8 +26,8 @@ quickcheck = { version = "1", optional = true}
2626
sha3 = "0.10.4"
2727
slow_primes = "0.1.14"
2828
thiserror = "1.0.40"
29-
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", optional = true, tag="rust-sdk-2024-01-25"}
30-
wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", optional = true, tag="rust-sdk-2024-01-25"}
29+
serde_wormhole = {version ="0.1.0", optional = true}
30+
wormhole-vaas-serde = {version = "0.1.0", optional = true}
3131
libsecp256k1 = {version ="0.7.1", optional = true}
3232
rand = {version = "0.8.5", optional = true}
3333

target_chains/solana/Cargo.lock

Lines changed: 31 additions & 18 deletions
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ codegen-units = 1
1717

1818
[workspace.dependencies]
1919
wormhole-core-bridge-solana = {git = "https://github.com/wormhole-foundation/wormhole", rev = "7bd40b595e22c5512dfaa2ed8e6d7441df743a69"}
20-
wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" }
21-
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" }
20+
wormhole-vaas-serde = "0.1.0"
21+
serde_wormhole = "0.1.0"
2222
anchor-lang = "0.28.0"
2323
anchor-client = "0.28.0"
2424
solana-program = "1.16.20"

target_chains/solana/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ 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
1616
pythnet-sdk = { path = "../../../pythnet/pythnet_sdk", version = "2.0.0" }
17-
wormhole-sdk = { workspace = true }
17+
wormhole-vaas-serde = { workspace = true }
1818
serde_wormhole = { workspace = true }
1919
hex = "0.4.3"
2020
borsh = "0.9.3" # Old version of borsh needed for wormhole-solana

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ libsecp256k1 = "0.7.1"
3535
rand = "0.8.5"
3636
lazy_static = "1.4.0"
3737
program-simulator = { path = "../../program_simulator" }
38-
wormhole-sdk = { workspace = true }
38+
wormhole-vaas-serde = { workspace = true }
3939
serde_wormhole = { workspace = true }
4040
pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk", features = ["test-utils"] }

0 commit comments

Comments
 (0)