pub fn set_return_data(data: &[u8]) -> Result<(), ContractError>
Expand description

Calls the set_return_data WASM function. Returns Ok(()) on success. Otherwise, convert the i64 error code into a ContractError.