diff --git a/crates/ibc/src/client_state.rs b/crates/ibc/src/client_state.rs index 79370a0..156c7a6 100644 --- a/crates/ibc/src/client_state.rs +++ b/crates/ibc/src/client_state.rs @@ -279,10 +279,6 @@ impl ClientState { } impl Ics2ClientState for ClientState { - fn chain_id(&self) -> ChainId { - todo!() - } - fn client_type(&self) -> ClientType { eth_client_type() } @@ -295,15 +291,6 @@ impl Ics2ClientState for ClientState bool { - todo!() - } - - fn zero_custom_fields(&mut self) { - todo!() - } - fn initialise( &self, consensus_state: Any, @@ -446,27 +433,6 @@ impl Ics2ClientState for ClientState Result<(), ClientError> { - todo!() - } - - #[allow(unused_variables)] - fn update_state_with_upgrade_client( - &self, - upgraded_client_state: Any, - upgraded_consensus_state: Any, - ) -> Result { - todo!() - } - fn verify_client_consensus_state( &self, proof_height: ibc::Height, @@ -653,6 +619,42 @@ impl Ics2ClientState for ClientState ChainId { + unimplemented!() + } + + #[allow(unused_variables)] + fn expired(&self, elapsed: Duration) -> bool { + unimplemented!() + } + + fn zero_custom_fields(&mut self) { + unimplemented!() + } + + #[allow(unused_variables)] + fn verify_upgrade_client( + &self, + upgraded_client_state: Any, + upgraded_consensus_state: Any, + proof_upgrade_client: ibc_proto::ibc::core::commitment::v1::MerkleProof, + proof_upgrade_consensus_state: ibc_proto::ibc::core::commitment::v1::MerkleProof, + root: &ibc::core::ics23_commitment::commitment::CommitmentRoot, + ) -> Result<(), ClientError> { + unimplemented!() + } + + #[allow(unused_variables)] + fn update_state_with_upgrade_client( + &self, + upgraded_client_state: Any, + upgraded_consensus_state: Any, + ) -> Result { + unimplemented!() + } } fn validate_state_timestamp_within_trusting_period(