referrerpolicy=no-referrer-when-downgrade

Function pallet_contracts_fixtures::compile_module

source ·
pub fn compile_module<T>(
    fixture_name: &str,
) -> Result<(Vec<u8>, <T::Hashing as Hash>::Output)>
where T: Config,
Expand description

Load a given wasm module and returns a wasm binary contents along with it’s hash. Use the legacy compile_module as fallback, if the rust fixture does not exist yet.