0xPolygonZero / plonky2

Apache License 2.0
757 stars 283 forks source link

Implement `PublicValues` retrieval from public inputs #1405

Closed Nashtare closed 9 months ago

Nashtare commented 9 months ago

This allows to retrieve the PublicValues stored in the public inputs of a proof, regardless of its aggregation level. I haven't touched the existing API for the prover, as we may still prefer to just keep the returned PublicValues but this at least allows a verifier to recover them if needed (as they are kind of "decoupled" from their proofs for now).

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information