ibc_testkit::testapp::ibc::clients::mock::client_state

Trait MockClientContext

source
pub trait MockClientContext {
    // Required methods
    fn host_timestamp(&self) -> Result<Timestamp, HostError>;
    fn host_height(&self) -> Result<Height, HostError>;
}

Required Methods§

source

fn host_timestamp(&self) -> Result<Timestamp, HostError>

Returns the current timestamp of the local chain.

source

fn host_height(&self) -> Result<Height, HostError>

Returns the current height of the local chain.

Implementors§