a16z / jolt

The simplest and most extensible zkVM. Fast and fully open source from a16z crypto and friends. ⚡
https://jolt.a16zcrypto.com
MIT License
619 stars 123 forks source link

Refactor/fiat shamir #265

Closed moodlezoup closed 4 months ago

moodlezoup commented 4 months ago

Refactor so that all polynomials are committed to at the beginning of Jolt::prove, and all commitments are appended to the transcript. Also includes an optimization to reuse the bytecode v polynomials corresponding to rs1, rs2, rd in read_write_memory, instead of separately committing to a_rs1, a_rs2, and a_rd