diff --git a/crates/proto/src/protobuf.rs b/crates/proto/src/protobuf.rs index 3f8bbaee1d..c2d11e4815 100644 --- a/crates/proto/src/protobuf.rs +++ b/crates/proto/src/protobuf.rs @@ -156,7 +156,6 @@ impl TryFrom for tendermint::PublicKe // IBC-rs impls extern crate ibc_types; -use ibc_proto::google::protobuf::Any; use ibc_proto::ibc::core::channel::v1::Channel as RawChannel; use ibc_proto::ibc::core::client::v1::Height as RawHeight; use ibc_proto::ibc::core::connection::v1::ClientPaths as RawClientPaths; @@ -166,6 +165,7 @@ use ibc_types::core::channel::ChannelEnd; use ibc_types::core::client::Height; use ibc_types::core::connection::{ClientPaths, ConnectionEnd}; use ibc_types::lightclients::tendermint::client_state::ClientState; +use ibc_types::lightclients::tendermint::consensus_state::ConsensusState; impl DomainType for ClientPaths { type Proto = RawClientPaths; @@ -183,10 +183,10 @@ impl DomainType for Height { } impl DomainType for ClientState { - type Proto = Any; + type Proto = ibc_proto::ibc::lightclients::tendermint::v1::ClientState; } -impl DomainType for ibc_types::lightclients::tendermint::consensus_state::ConsensusState { - type Proto = Any; +impl DomainType for ConsensusState { + type Proto = ibc_proto::ibc::lightclients::tendermint::v1::ConsensusState; } impl From for IbcRelay