Function mock_wasmd_attr

Source
pub fn mock_wasmd_attr(
    key: impl Into<String>,
    value: impl Into<String>,
) -> Attribute
Expand description

Only for test code. This bypasses assertions in new, allowing us to create _* Attributes to simulate responses from the blockchain