privacy-scaling-explorations / zkevm-circuits

https://privacy-scaling-explorations.github.io/zkevm-circuits/
Other
818 stars 856 forks source link

MPT: Connect Witness generation to zkEVM circuits #811

Open aguzmant103 opened 2 years ago

aguzmant103 commented 2 years ago

Depends: #740 and #812

Description:

Another task:

ed255 commented 1 year ago

Here are some details of this task taken from an old issue. In particular, the MPT witness generation needs to be integrated into the Circuit Input Builder, more or less like this:

  1. Merge results from all account and storage accesses that happen in a block, and combine their MPT proofs into a Partial State Trie to generate proofs for the circuit.
ed255 commented 1 year ago

Related to https://github.com/privacy-scaling-explorations/zkevm-circuits/issues/812