Function cosmwasm_vm::call_migrate_raw
source · pub fn call_migrate_raw<A, S, Q>(
instance: &mut Instance<A, S, Q>,
env: &[u8],
msg: &[u8]
) -> VmResult<Vec<u8>>
Expand description
Calls Wasm export “migrate” and returns raw data from the contract. The result is length limited to prevent abuse but otherwise unchecked.