Skip to content

Commit

Permalink
solana-ibc: don’t unconditionally enable ibc/mocks feature
Browse files Browse the repository at this point in the history
The ibc/mocks feature is only needed when solana-ibc is built with
mocks feature is selected.  Don’t enable it unconditionally.

Fixes: #31
  • Loading branch information
dhruvja authored Oct 18, 2023
1 parent 6aae769 commit a1c5e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion solana/solana-ibc/programs/solana-ibc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1c5e6d

Please sign in to comment.