Function cosmwasm_std::testing::mock_ibc_packet_recv

source ·
pub fn mock_ibc_packet_recv(
    my_channel_id: &str,
    data: &impl Serialize
) -> StdResult<IbcPacketReceiveMsg>
Expand description

Creates a IbcPacketReceiveMsg for testing ibc_packet_receive. 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