pub fn build_create_client_and_send(&self) -> Result<IbcEvent, ForeignClientError> {
        let new_msg = self.build_create_client()?;

        let res = self
            .dst_chain
            .send_msgs(vec![new_msg.to_any()])
            .map_err(|e| {
                ForeignClientError::ClientCreate(format!(
                    "failed sending message to dst chain ({}) with err: {}",
                    self.dst_chain.id(),
                    e
                ))
            })?;

        assert!(!res.is_empty());
        Ok(res[0].clone())
    }
/// Returns the identifier of the newly created client.
Returns the identifier of the newly created client.
Returns the identifier of the newly created client .
pub fn build_create_client_and_send(&self) -> Result<IbcEvent, ForeignClientError> {
        let new_msg = self.build_create_client()?;
        let res = self
            .dst_chain
            .send_msgs(vec![new_msg.to_any()])
            .map_err(|e| {
                ForeignClientError::ClientCreate(format!(
                    "failed sending message to dst chain ({}) with err: {}",
                    self.dst_chain.id(),
                    e
                ))
            })?;
        assert!(!res.is_empty());
        Ok(res[0].clone())
    }
pub fn build_create_client_and_send ( & self ) -> Result < IbcEvent , ForeignClientError > { let new_msg = self . build_create_client ( ) ? ; let res = self . dst_chain . send_msgs ( vec ! [ new_msg to_any ( ) ] ) . map_err ( | e | { ForeignClientError :: ClientCreate ( format ! ( " " self dst_chain id ( ) e ) ) } ) ? ; assert ! ( res is_empty ( ) ) ; Ok ( res [ 0 ] . clone ( ) ) }
Returns the identifier of the newly created client.
Returns the identifier of the newly created client .
&self
&self