From a1c5e6df357abf0617f2f18326576d3b13d93b6c Mon Sep 17 00:00:00 2001 From: Dhruv D Jain Date: Wed, 18 Oct 2023 22:47:17 +0530 Subject: [PATCH] =?UTF-8?q?solana-ibc:=20don=E2=80=99t=20unconditionally?= =?UTF-8?q?=20enable=20ibc/mocks=20feature?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ibc/mocks feature is only needed when solana-ibc is built with mocks feature is selected. Don’t enable it unconditionally. Fixes: https://github.com/ComposableFi/emulated-light-client/issues/31 --- Cargo.toml | 2 +- solana/solana-ibc/programs/solana-ibc/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 88318e68..d680aa07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ base64 = { version = "0.21", default-features = false, features = ["alloc"] } bincode = "1.3.3" borsh = { version = "0.10.3", default-features = false } derive_more = "0.99.17" -ibc = { version = "0.45.0", default-features = false, features = ["serde", "mocks", "std"] } +ibc = { version = "0.45.0", default-features = false, features = ["serde", "borsh"] } ibc-proto = { version = "0.35.0", default-features = false, features = ["serde"] } pretty_assertions = "1.4.0" rand = { version = "0.8.5" } diff --git a/solana/solana-ibc/programs/solana-ibc/Cargo.toml b/solana/solana-ibc/programs/solana-ibc/Cargo.toml index bb4690d7..5576f098 100644 --- a/solana/solana-ibc/programs/solana-ibc/Cargo.toml +++ b/solana/solana-ibc/programs/solana-ibc/Cargo.toml @@ -13,7 +13,7 @@ no-entrypoint = [] no-idl = [] no-log-ix-name = [] cpi = ["no-entrypoint"] -mocks = [] +mocks = ["ibc/mocks", "ibc/std"] [dependencies] anchor-lang.workspace = true