Function ibc::ics18_relayer::utils::build_client_update_datagram[][src]

pub fn build_client_update_datagram<Ctx>(
    dest: &Ctx,
    client_id: &ClientId,
    src_header: AnyHeader
) -> Result<ClientMsg, Error> where
    Ctx: Ics18Context

Builds a ClientMsg::UpdateClient for a client with id client_id running on the dest context, assuming that the latest header on the source context is src_header.