Function ibc::clients::tendermint::client_state::update_state

source ยท
pub fn update_state<E>(
    client_state: &ClientState,
    ctx: &mut E,
    client_id: &ClientId,
    header: Any
) -> Result<Vec<Height>, ClientError>
Expand description

Update the host store with a new client state, pruning old states from the store if need be.

Note that this function is typically implemented as part of the ClientStateExecution trait, but has been made a standalone function in order to make the ClientState APIs more flexible.