diff --git a/packages/std/src/ibc.rs b/packages/std/src/ibc.rs index 569d9f1b7f..9f7029f41f 100644 --- a/packages/std/src/ibc.rs +++ b/packages/std/src/ibc.rs @@ -694,27 +694,6 @@ impl IbcReceiveResponse { } } - /// Set the acknowledgement for this response. - /// - /// If you provide `None`, the acknowledgement is asynchronous and you can provide it later - /// using [`IbcMsg::WriteAcknowledgement`]. - /// - /// ## Examples - /// - /// ``` - /// use cosmwasm_std::{StdAck, IbcReceiveResponse}; - /// - /// fn make_response_with_ack() -> IbcReceiveResponse { - /// let ack = StdAck::success(b"\x01"); // 0x01 is a FungibleTokenPacketSuccess from ICS-20. - /// IbcReceiveResponse::new(ack) - /// } - /// _ = make_response_with_ack(); - /// ``` - pub fn set_ack(mut self, ack: impl Into>) -> Self { - self.acknowledgement = ack.into(); - self - } - /// Add an attribute included in the main `wasm` event. pub fn add_attribute(mut self, key: impl Into, value: impl Into) -> Self { self.attributes.push(Attribute::new(key, value));