Function ibc_packet_ack

Source
pub fn ibc_packet_ack(
    deps: DepsMut<'_>,
    _env: Env,
    ack: IbcPacketAckMsg,
) -> Result<IbcBasicResponse, ContractError>
Expand description

Implements the IBC module’s OnAcknowledgementPacket handler.

§Errors

This function returns an error if:

  • The acknowledgement data is invalid.
  • [ibc_packet_ack::success] or [ibc_packet_ack::error] returns an error.