Manta-Network / manta-rs

Rust Crates for the Manta Network Ecosystem

Home Page:https://github.com/Manta-Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Round-trip Serialization Test

bhgomes opened this issue · comments

For a given type that has a (de)serialization we want to check that at least the composition is valid deserialize(serialize(x)) == x. Can we also check serialize(deserialize(bytes)) == bytes?