diff --git a/ibc-core/ics24-host/cosmos/src/utils.rs b/ibc-core/ics24-host/cosmos/src/utils.rs index 7ecf41975..613a48f36 100644 --- a/ibc-core/ics24-host/cosmos/src/utils.rs +++ b/ibc-core/ics24-host/cosmos/src/utils.rs @@ -1,6 +1,6 @@ use ibc_app_transfer_types::VERSION; use ibc_core_host_types::identifiers::{ChannelId, PortId}; -pub use ibc_primitives::prelude::*; +use ibc_primitives::prelude::*; use sha2::{Digest, Sha256}; /// Helper function to generate an escrow address for a given port and channel diff --git a/ibc-core/ics25-handler/src/lib.rs b/ibc-core/ics25-handler/src/lib.rs index a9505d9aa..37ca99ffc 100644 --- a/ibc-core/ics25-handler/src/lib.rs +++ b/ibc-core/ics25-handler/src/lib.rs @@ -2,6 +2,14 @@ //! entry points are responsible for processing incoming IBC messages, //! performing validation, and execution logics by invoking the appropriate //! module handler. +//! +//! When processing a given message `M`, if any method in this library returns +//! an error, the runtime is expected to rollback all state modifications made +//! to the context (e.g. +//! [`ExecutionContext`](crate::core::host::ExecutionContext)) while processing +//! `M`. If a transaction on your blockchain contains multiple messages, then +//! typically the state modifications from all messages is expected to be rolled +//! back as well. #![no_std] #![forbid(unsafe_code)] #![cfg_attr(not(test), deny(clippy::unwrap_used))] diff --git a/ibc/src/lib.rs b/ibc/src/lib.rs index 1e9eaab80..02887a4e6 100644 --- a/ibc/src/lib.rs +++ b/ibc/src/lib.rs @@ -30,14 +30,6 @@ //! This is the part of the protocol that abstracts away the core protocol and //! focuses solely on business logic. //! -//! When processing a given message `M`, if any method in this library returns -//! an error, the runtime is expected to rollback all state modifications made -//! to the context (e.g. -//! [`ExecutionContext`](crate::core::host::ExecutionContext)) while processing -//! `M`. If a transaction on your blockchain contains multiple messages, then -//! typically the state modifications from all messages is expected to be rolled -//! back as well. -//! //! [ibc-standard]: https://github.com/cosmos/ibc //! [ibc-rs]: https://github.com/cosmos/ibc-rs