w3f / ring-proof

ring-vrf ring proof v2.5
Apache License 2.0
14 stars 4 forks source link

Workaround while waiting for ark-serialize PR 837 #24

Closed davxy closed 3 months ago

davxy commented 3 months ago

Currently bad input makes array deserialization to panic.

This is a temporary workaround while we're waiting for https://github.com/arkworks-rs/algebra/pull/837 to land on crates.io (allegedly on ark-serialize 0.4.3).

I added PoC tests, one of which must start failing as soon as the new ark-serialize version is introduced (this allows us to detect it and remove the workaround)