cosmwasm_std::testing

Function mock_info

Source
pub fn mock_info(sender: &str, funds: &[Coin]) -> MessageInfo
👎Deprecated: This is inconvenient and unsafe. Use message_info instead.
Expand description

Just set sender and funds for the message. This is intended for use in test code only.