Function cosmwasm_std::testing::mock_ibc_packet_ack
source · [−]pub fn mock_ibc_packet_ack(
my_channel_id: &str,
data: &impl Serialize,
ack: IbcAcknowledgement
) -> StdResult<IbcPacketAckMsg>
Expand description
Creates a IbcPacketAckMsg for testing ibc_packet_ack. You set a few key parameters that are
often parsed. If you want to set more, use this as a default and mutate other fields.
The difference from mock_ibc_packet_recv is if my_channel_id
is src or dest.