Function ibc::clients::tendermint::client_state::verify_client_message

source ยท
pub fn verify_client_message<V, H>(
    client_state: &ClientState,
    ctx: &V,
    client_id: &ClientId,
    client_message: Any,
    verifier: &impl Verifier
) -> Result<(), ClientError>
Expand description

Verify the client message as part of the client state validation process.

Note that this function is typically implemented as part of the ClientStateValidation trait, but has been made a standalone function in order to make the ClientState APIs more flexible. It mostly adheres to the same signature as the ClientStateValidation::verify_client_message function, except for an additional verifier parameter that allows users who require custom verification logic to easily pass in their own verifier implementation.