Zokrates / ZoKrates

A toolbox for zkSNARKs on Ethereum
https://zokrates.github.io
GNU Lesser General Public License v3.0
1.83k stars 361 forks source link

Add curve and scheme to vk and proof #1152

Closed Schaeff closed 2 years ago

Schaeff commented 2 years ago

Add two fields to the serialized proof and serialized verification key:

Adjust deserialization to look at these fields first to then build the correct generic structs. This change is backward-compatible as the new formats are an extension of the old ones.