ZcashFoundation / frost

Rust implementation of FROST (Flexible Round-Optimised Schnorr Threshold signatures) by the Zcash Foundation
https://frost.zfnd.org
Other
133 stars 50 forks source link

Add checks for serialization round trips during tests #688

Open conradoplg opened 2 months ago

conradoplg commented 2 months ago

During the refresh shares work, there was a bug that wasn't showing up on tests because it only happened when serializing the structs generated by the refresh shares functionality.

It would be good to add serialization roundtrips (serialize then deserialize) in the generic FROST tests, to make sure things that need to be serialized can actually be serialized.