Trait ibc_testkit::testapp::ibc::clients::mock::client_state::MockClientContext
source · pub trait MockClientContext {
// Required methods
fn host_timestamp(&self) -> Result<Timestamp, ContextError>;
fn host_height(&self) -> Result<Height, ContextError>;
}Required Methods§
sourcefn host_timestamp(&self) -> Result<Timestamp, ContextError>
fn host_timestamp(&self) -> Result<Timestamp, ContextError>
Returns the current timestamp of the local chain.
sourcefn host_height(&self) -> Result<Height, ContextError>
fn host_height(&self) -> Result<Height, ContextError>
Returns the current height of the local chain.