zkcrypto / bulletproofs

A pure-Rust implementation of Bulletproofs using Ristretto.
MIT License
52 stars 29 forks source link

serde_json does not work for RangeProof #25

Open Stentonian opened 4 months ago

Stentonian commented 4 months ago
Error("invalid type: sequence, expected a valid RangeProof", line: 2, column: 2)

Basically the visitor does not know what do do with a sequence of numbers, it only knows how to handle raw bytes.

See example here https://github.com/Stentonian/bulletproofs/pull/1

Stentonian commented 4 months ago

I have a fix, just going to add some more unit tests before making a pr

Stentonian commented 4 months ago

@cathieyun