Skip to content

Commit

Permalink
rm redundant bound
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 28, 2024
1 parent 4cdb0e9 commit f535fa1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ibc-clients/cw-context/src/api.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use ibc_core::client::context::client_state::ClientStateExecution;
use ibc_core::client::context::consensus_state::ConsensusState as ConsensusStateTrait;
use ibc_core::client::types::error::ClientError;
use ibc_core::primitives::proto::Any;

use crate::context::Context;

Expand All @@ -10,5 +8,5 @@ use crate::context::Context;
/// object.
pub trait ClientType<'a>: Sized {
type ClientState: ClientStateExecution<Context<'a, Self>>;
type ConsensusState: ConsensusStateTrait + Into<Any> + TryFrom<Any, Error = ClientError>;
type ConsensusState: ConsensusStateTrait;
}

0 comments on commit f535fa1

Please sign in to comment.