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