Open saeed-zil opened 3 weeks ago
I got this error when I tried to implmenet data types for p.value
:
2024-08-30T07:55:23.730678Z ERROR zilliqa::api::zil: 38: e=Conversion error from type Blob at index: 7, Bincode does not support the serde::Deserializer::deserialize_any method
Caused by:
Bincode does not support the serde::Deserializer::deserialize_any method
2024-08-30T07:55:25.427219Z ERROR zilliqa: 62: thread_name="tokio-runtime-worker" called `Result::unwrap()` on an `Err` value: Conversion error from type Blob at index: 7, Bincode does not support the serde::Deserializer::deserialize_any method
The problem is here:
We serialize the
p.value
to string which causes to need to have an extra JSON.parse on the client side to get the real object.