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

Required Methods§

source

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

Returns the current timestamp of the local chain.

source

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

Returns the current height of the local chain.

Implementors§