From 717435934ab88910d9453d1ddffd2d461544b8d7 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Wed, 14 Feb 2024 12:44:27 +0000 Subject: [PATCH 1/3] Go --- target_chains/solana/Cargo.lock | 14 ++------------ .../programs/pyth-solana-receiver/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/target_chains/solana/Cargo.lock b/target_chains/solana/Cargo.lock index 3ce3971cd7..f1f2155742 100644 --- a/target_chains/solana/Cargo.lock +++ b/target_chains/solana/Cargo.lock @@ -3041,7 +3041,7 @@ dependencies = [ "solana-sdk", "tokio", "wormhole-core-bridge-solana", - "wormhole-raw-vaas 0.0.1-alpha.2", + "wormhole-raw-vaas", "wormhole-sdk", ] @@ -6169,7 +6169,7 @@ dependencies = [ "ruint", "solana-program", "wormhole-io", - "wormhole-raw-vaas 0.1.3", + "wormhole-raw-vaas", ] [[package]] @@ -6178,16 +6178,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4965f46f7a99debe3c2cf9337c6e3eb7068da348aecf074a3e35686937f25c65" -[[package]] -name = "wormhole-raw-vaas" -version = "0.0.1-alpha.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cb59754ad91d99c0e3d7d159fffcbb4087c18a1c13b1b2a945775635ef9bd03" -dependencies = [ - "ruint", - "ruint-macro", -] - [[package]] name = "wormhole-raw-vaas" version = "0.1.3" diff --git a/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml b/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml index 531233a617..cc1e65156f 100644 --- a/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml +++ b/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml @@ -21,7 +21,7 @@ pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk" } solana-program = "1.16.20" byteorder = "1.4.3" wormhole-core-bridge-solana = {workspace = true} -wormhole-raw-vaas = {version = "0.0.1-alpha.1", features = ["ruint", "on-chain"], default-features = false } +wormhole-raw-vaas = {version = "0.1.3", features = ["ruint", "on-chain"], default-features = false } [dev-dependencies] pyth-sdk = "0.8.0" From 0b823778aed68879c90c5e505748a7eedde1ef69 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Wed, 14 Feb 2024 12:54:25 +0000 Subject: [PATCH 2/3] Try this --- target_chains/solana/Cargo.toml | 1 + target_chains/solana/program_simulator/Cargo.toml | 2 +- target_chains/solana/programs/pyth-solana-receiver/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/target_chains/solana/Cargo.toml b/target_chains/solana/Cargo.toml index 675d85b359..e29e8f5caa 100644 --- a/target_chains/solana/Cargo.toml +++ b/target_chains/solana/Cargo.toml @@ -17,3 +17,4 @@ codegen-units = 1 wormhole-core-bridge-solana = {git = "https://github.com/wormhole-foundation/wormhole", branch = "wen/solana-rewrite"} wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" } serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" } +anchor-lang = ">= 0.28.0" diff --git a/target_chains/solana/program_simulator/Cargo.toml b/target_chains/solana/program_simulator/Cargo.toml index 44d0832e4e..07af2b5f98 100644 --- a/target_chains/solana/program_simulator/Cargo.toml +++ b/target_chains/solana/program_simulator/Cargo.toml @@ -15,4 +15,4 @@ solana-program-test = "1.16.20" solana-program = "1.16.20" bincode = "1.3.3" borsh = "0.10.3" -anchor-lang = "0.28.0" +anchor-lang = {workspace = true} diff --git a/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml b/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml index cc1e65156f..fd945da838 100644 --- a/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml +++ b/target_chains/solana/programs/pyth-solana-receiver/Cargo.toml @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"] test-bpf = [] [dependencies] -anchor-lang = "0.28.0" +anchor-lang = {workspace = true} pythnet-sdk = { path = "../../../../pythnet/pythnet_sdk" } solana-program = "1.16.20" byteorder = "1.4.3" From 58bae4255130eaa4754d927440fb52f713acfbb9 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Wed, 14 Feb 2024 14:06:22 +0000 Subject: [PATCH 3/3] Nice --- target_chains/solana/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_chains/solana/Cargo.toml b/target_chains/solana/Cargo.toml index e29e8f5caa..1f1a59e2b3 100644 --- a/target_chains/solana/Cargo.toml +++ b/target_chains/solana/Cargo.toml @@ -17,4 +17,4 @@ codegen-units = 1 wormhole-core-bridge-solana = {git = "https://github.com/wormhole-foundation/wormhole", branch = "wen/solana-rewrite"} wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" } serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "rust-sdk-2024-01-25" } -anchor-lang = ">= 0.28.0" +anchor-lang = ">= 0.27.0"