Function ibc::clients::tendermint::client_state::verify_upgrade_client

source ยท
pub fn verify_upgrade_client<H>(
    client_state: &ClientState,
    upgraded_client_state: Any,
    upgraded_consensus_state: Any,
    proof_upgrade_client: CommitmentProofBytes,
    proof_upgrade_consensus_state: CommitmentProofBytes,
    root: &CommitmentRoot
) -> Result<(), ClientError>
Expand description

Perform client-specific verifications and check all data in the new client state to be the same across all valid Tendermint clients for the new chain.

You can learn more about how to upgrade IBC-connected SDK chains in this guide.

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.