Function provwasm_mocks::must_read_binary_file[][src]

pub fn must_read_binary_file(filename: &str) -> Binary
Expand description

A helper function for mock testing. This function allows tests to read a file in CosmWasm binary format. This function will panic on any error. Because of this, it should only be used in tests.