pub fn verify_consensus_state(
consensus_state: Any,
host_timestamp: &Timestamp,
trusting_period: Duration,
) -> Result<(), ClientError>Expand description
Verify an Any consensus state by attempting to convert it to a TmConsensusState.
Also checks whether the converted consensus state’s root is present.
Note that this function is typically implemented as part of the
ClientStateCommon trait, but has been made a standalone function
in order to make the ClientState APIs more flexible.