(It is caused by deserializing a slice to HashMap<String, CalleeProperty>)
So we should not use cosmwasm_std::{to_vec, from_slice} other than WASM target, for example, cosmwasm_vm. We need to check and fix it is not used other than WASM target. For other than WASM target, use serde_json::{to_vec, from_slice} instead.
cosmwasm_std::{to_vec, from_slice}
seems to use serde-json-wasm and it seems to have some bug.(It is caused by deserializing a slice to
HashMap<String, CalleeProperty>
)So we should not use
cosmwasm_std::{to_vec, from_slice}
other than WASM target, for example, cosmwasm_vm. We need to check and fix it is not used other than WASM target. For other than WASM target, useserde_json::{to_vec, from_slice}
instead.