You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume its because the hash is just a pure computation away from the data itself. So one could implement fromJson in a way that computes that hash out of the data.
I can create a PR if you want, but on my side I've fixed it by just doing manual serialization including the hash
The following code throws an error
The reason for this is that
toJSON
returns only thedata
field as a string and omits thehash
, butfromJSON
doesn't account for thatThe text was updated successfully, but these errors were encountered: