Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: remove traces of deprecated mocks-no-std feature #825

Merged
merged 3 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove traces of deprecated `mocks-no-std` feature
([#819](https://github.com/cosmos/ibc-rs/issues/821))
2 changes: 1 addition & 1 deletion crates/ibc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub mod clients;
pub mod core;
pub mod hosts;

#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
#[cfg(any(test, feature = "mocks"))]
pub mod mock;
#[cfg(any(test, feature = "mocks"))]
pub mod test_utils; // Context mock, the underlying host chain, and client types: for testing all handlers.
Expand Down
8 changes: 4 additions & 4 deletions crates/ibc/src/mock/mod.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
//! Implementation of mocks for context, host chain, and client.

#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
#[cfg(any(test, feature = "mocks"))]
pub mod client_state;
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
#[cfg(any(test, feature = "mocks"))]
pub mod consensus_state;
#[cfg(any(test, feature = "mocks"))]
pub mod context;
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
#[cfg(any(test, feature = "mocks"))]
pub mod header;
#[cfg(any(test, feature = "mocks"))]
pub mod host;
#[cfg(any(test, feature = "mocks"))]
pub mod ics18_relayer;
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
#[cfg(any(test, feature = "mocks"))]
pub mod misbehaviour;
#[cfg(any(test, feature = "mocks"))]
pub mod router;