From cd5d61c2982136db5b2a271634121bc45e9219c5 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Mon, 16 Oct 2023 16:13:29 +0200 Subject: [PATCH] Remove set_ack function from IbcReceiveResponse --- packages/std/src/ibc.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/packages/std/src/ibc.rs b/packages/std/src/ibc.rs index f4ae78e4ea..a6f53b56cc 100644 --- a/packages/std/src/ibc.rs +++ b/packages/std/src/ibc.rs @@ -646,23 +646,6 @@ impl IbcReceiveResponse { } } - /// Set the acknowledgement for this response. - /// - /// ## 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) - /// } - /// ``` - 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));