Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Implement EndBlock execution state #575

Closed
@ed255

Description

@ed255

Currently we have an EndBlock gadget that is dummy (it doesn't have any constraints).

The EndBlock state was specified here privacy-scaling-explorations/zkevm-specs#88 , nevertheless there are a few details that may be missing from the spec:

# TODO: Introduce constrain_instance to constrain the equality between witness
#       and public input, for total_tx and total_rw
  • Constraint that the number of tx processed in the EVM is the same as the number of txs in the tx table
  • Constraint that the number of ops in the rw_table from the State circuit match the number of ops "emitted" from the EVM circuit.

Dependency:

Metadata

Metadata

Assignees

Labels

crate-zkevm-circuitsIssues related to the zkevm-circuits workspace member

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions