Technical
Mar 12, 2025
We’re excited to share a significant milestone in our journey to optimize Ethereum block proving: the integration of a Keccak Acceleration Chip with the Valida zkVM and compiler toolchain. This breakthrough dramatically reduces the proving time of Ethereum blocks, bringing us closer to our goal of supporting real-time block proving with Valida.
TL;DR
We’re thrilled with the initial results of our Keccak acceleration efforts:
These results demonstrate the potential of our approach to significantly reduce the proving time of Ethereum blocks.
We proved execution of 500 Keccak hashes, each taking as input the output of the previous hash computation. We ran these proofs on a z1d.metal AWS instance, with 48 cores and 384 GiB RAM. We took a sample size of ten runs for each of the two groups. The reported results are the mean real time of each group: 183 seconds without the Keccak acceleration chip, and 23 seconds with the Keccak acceleration chip.
Keccak-256 is a cornerstone of Ethereum’s cryptographic infrastructure. It’s used for:
In Ethereum block proving, Keccak-256 hashes are computed repeatedly to validate block data and verify state transitions. According to the reth team, as of March 2024, around 80-90% of client time was spent on computing keccak. This makes Keccak hashing a major computational bottleneck for block proving. Optimizations made since then by the reth team reduce the number of Keccak hashes that need to be computed, while the Valida Keccak hash chip makes it faster to prove those computations on Valida. These measures together promise to dramatically reduce the time and energy spent on proving Keccak hash executions during block proving.
The Valida Keccak acceleration chip optimizes the computation of the Keccakf-1600 permutation, the most computationally intensive part of the Keccak hash function. Here’s how it works:
Key Features of the Chip
(1) Single-Core Keccakf-1600 Permutation:
(2) Memory Integration:
(3) Consistency via Memory Bus:
The Keccak acceleration chip is integrated with the Valida zkVM and compiler toolchain, enabling efficient block proving. A collaborative effort from our compiler and cryptography engineers. This integration is achieved through:
While we’re proud of our progress, there’s still more work to be done. Our next steps include:
Read the full release notes here.