pub trait MockClientContext {
// Required methods
fn host_timestamp(&self) -> Result<Timestamp, HostError>;
fn host_height(&self) -> Result<Height, HostError>;
}
Required Methods§
Sourcefn host_timestamp(&self) -> Result<Timestamp, HostError>
fn host_timestamp(&self) -> Result<Timestamp, HostError>
Returns the current timestamp of the local chain.
Sourcefn host_height(&self) -> Result<Height, HostError>
fn host_height(&self) -> Result<Height, HostError>
Returns the current height of the local chain.