Trait ibc_core::client::context::ClientValidationContext
pub trait ClientValidationContext {
// Required methods
fn client_update_time(
&self,
client_id: &ClientId,
height: &Height
) -> Result<Timestamp, ContextError>;
fn client_update_height(
&self,
client_id: &ClientId,
height: &Height
) -> Result<Height, ContextError>;
}
Expand description
Defines the methods available to clients for validating client state
transitions. The generic V
parameter in
crate::client_state::ClientStateValidation must
inherit from this trait.