Module zkevm_circuits::witness

source ·
Expand description

Witness for all circuits. The Block<F> is the witness struct post-processed from geth traces and used to generate witnesses for circuits.

Re-exports§

Modules§

  • The Read-Write table related structs

Structs§

  • Block is the struct used by all circuits, which contains blockwise data for witness generation. Used with Chunk for the i-th chunk witness.
  • Block context for execution
  • Circuit Input related to an Ethereum Call
  • An execution step of the EVM.
  • An MPT update whose validity is proved by the MptCircuit
  • The field element encoding of an MPT update, which is used by the MptTable
  • All the MPT updates in the MptCircuit, accessible by their key
  • Result of the parsing of an Ethereum Transaction.
  • Result of the parsing of an Ethereum Withdrawal.

Functions§

  • Convert a block struct in bus-mapping to a witness block used in circuits