@@ -18,40 +18,16 @@ use tendermint_light_client_verifier::options::Options;
1818use tendermint_light_client_verifier:: types:: { TrustedBlockState , UntrustedBlockState } ;
1919use tendermint_light_client_verifier:: { ProdVerifier , Verifier } ;
2020
21- use crate :: clients:: ics07_tendermint:: client_state:: ClientState as TmClientState ;
22- use crate :: clients:: ics07_tendermint:: consensus_state:: ConsensusState as TmConsensusState ;
23- use crate :: clients:: ics07_tendermint:: error:: { Error , IntoResult } ;
24- use crate :: clients:: ics07_tendermint:: header:: { Header as TmHeader , Header } ;
25- use crate :: clients:: ics07_tendermint:: misbehaviour:: Misbehaviour as TmMisbehaviour ;
26- use crate :: core:: ics02_client:: client_state:: { ClientState as Ics2ClientState , UpdatedState } ;
27- use crate :: core:: ics02_client:: client_type:: ClientType ;
28- use crate :: core:: ics02_client:: consensus_state:: ConsensusState ;
29- use crate :: core:: ics02_client:: error:: ClientError ;
30- use crate :: core:: ics02_client:: trust_threshold:: TrustThreshold ;
31- use crate :: core:: ics03_connection:: connection:: ConnectionEnd ;
32- use crate :: core:: ics04_channel:: channel:: ChannelEnd ;
33- use crate :: core:: ics04_channel:: commitment:: { AcknowledgementCommitment , PacketCommitment } ;
34- use crate :: core:: ics04_channel:: packet:: Sequence ;
35- use crate :: core:: ics23_commitment:: commitment:: {
36- CommitmentPrefix , CommitmentProofBytes , CommitmentRoot ,
37- } ;
38- use crate :: core:: ics23_commitment:: merkle:: { apply_prefix, MerkleProof } ;
39- use crate :: core:: ics23_commitment:: specs:: ProofSpecs ;
40- use crate :: core:: ics24_host:: identifier:: { ChainId , ClientId } ;
41- use crate :: core:: ics24_host:: path:: {
42- AckPath , ChannelEndPath , ClientConsensusStatePath , ClientStatePath , ClientUpgradePath ,
43- CommitmentPath , ConnectionPath , ReceiptPath , SeqRecvPath ,
44- } ;
45- use crate :: core:: ics24_host:: Path ;
46- use crate :: timestamp:: { Timestamp , ZERO_DURATION } ;
47- use crate :: Height ;
21+ use crate :: client_state:: ClientState as TmClientState ;
22+ use crate :: consensus_state:: ConsensusState as TmConsensusState ;
23+ use crate :: error:: { Error , IntoResult } ;
24+ use crate :: header:: { Header as TmHeader , Header } ;
25+ use crate :: misbehaviour:: Misbehaviour as TmMisbehaviour ;
26+ use ibc_types_core_client:: Height ;
27+ use ibc_types_timestamp:: { Timestamp , ZERO_DURATION } ;
4828
4929use super :: client_type as tm_client_type;
5030
51- use crate :: core:: context:: ContextError ;
52-
53- use crate :: core:: ValidationContext ;
54-
5531pub const TENDERMINT_CLIENT_STATE_TYPE_URL : & str = "/ibc.lightclients.tendermint.v1.ClientState" ;
5632
5733#[ cfg_attr( feature = "serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
@@ -349,9 +325,7 @@ impl ClientState {
349325
350326 Ok ( ( ) )
351327 }
352- }
353328
354- impl Ics2ClientState for ClientState {
355329 fn chain_id ( & self ) -> ChainId {
356330 self . chain_id . clone ( )
357331 }
0 commit comments