EspressoSystems / jellyfish

A Rust Implementation of the PLONK ZKP System and Extensions
https://jellyfish.docs.espressosys.com
MIT License
397 stars 100 forks source link

fix: `gpu_batch_commit` with empty polys #524

Closed mrain closed 6 months ago

mrain commented 6 months ago

Description

Originally, you'll panic if you feed the empty poly list to gpu_batch_commit(). This PR adds a shortcut to prevent it.


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.