Update era setup data

Updates zksync-era prover setup data using the key_generator binary for a selected protocol version.

Use this script when you need to regenerate ZKsync Era prover setup.

Script performs the following steps:

  • Builds key_generator with GPU support.
  • Generates base layer setup data for required circuits.
  • Generates recursive layer setup data for required circuits.
  • Generates compressor data.

Local use

Example usage

REPO_DIR="/path/to/zksync-era" \
BELLMAN_CUDA_DIR="/path/to/bellman-cuda" \
    uv run -m scripts.era.update_era

To run the script, you will need: