If the proof is valid, are your funds safe?
Materials about zero-knowledge (ZK) rollups often describe their security as mathematically verified. Zero-knowledge proofs let Ethereum confirm that the results an operator posts were computed according to the rules. But correct computation and being able to withdraw if the operator disappears are two different questions.
This guide explains the difference between what proofs answer and what data availability answers. It compares, with a hypothetical operator shutdown, how rollups that post data to Ethereum and validiums that keep data elsewhere behave, and lists what to check about withdrawal and state reconstruction.
What a proof verifies
Ethereum.org's page on zero-knowledge proofs explains that they prove a computation was performed correctly without revealing all of its details. A ZK rollup executes many L2 transactions and submits the resulting state to Ethereum along with a validity proof that the result followed the rules.
A verifier contract on Ethereum checks the proof and accepts the new state if it is valid. An operator therefore cannot create an invalid state that takes other users' funds; the proof check stops it. Unlike optimistic rollups, there is no challenge period to wait out.
The role of state data
A proof shows that the new state is correct, but it does not put the details of who owns what onto Ethereum. To withdraw without the operator, a user must produce evidence that their balance is part of the state, and that requires the underlying data.
As Ethereum.org's page on data availability explains, if that data is published on Ethereum, anyone can reconstruct the state. If it is held only by the operator or an outside committee and they withhold it, users may be unable to prove their balances, and their funds can be stuck even though the state is provably correct.
A hypothetical shutdown
The table compares what users face if an operator suddenly stops and also stops serving data, depending on where the data lives.
| Design | Correctness of computation | Where data lives | Withdrawals if the operator stops |
|---|---|---|---|
| ZK rollup | Guaranteed by validity proofs | Published on Ethereum | Users rebuild state from public data and withdraw |
| Validium | Guaranteed by validity proofs | Held by operator or committee | Withdrawals can be blocked if data is withheld |
| Optimistic rollup (for comparison) | Guaranteed by fraud challenges | Published on Ethereum | Withdraw after the challenge period |
In a validium the operator cannot steal funds, but by withholding data it can prevent users from getting them out. "Cannot be stolen" and "can be withdrawn" are different guarantees.
Proof systems and data
ZK rollups use various proof systems that differ in proof size, verification cost, and setup. Some require a trusted setup ceremony; if that setup were compromised, fake proofs could become possible. Ethereum.org's page on ZK rollups introduces these differences.
Data can be posted to Ethereum as calldata or blobs. Whatever the method, what matters to users is whether there is a window and a route to obtain the data and rebuild the state if the operator stops.
Withdrawal and reconstruction conditions
Before using a network built on zero-knowledge technology, work through these checks.
- Find in the official documentation whether the network is a rollup posting data to Ethereum or a validium keeping data elsewhere.
- For a validium, check who sits on the data committee and what happens if it withholds data.
- See whether users have an escape hatch to withdraw on their own if the operator stops, and whether tools exist to use it.
- Review audits of the proof system and who can upgrade the verifier contract.
- Start by testing a small deposit and withdrawal before moving larger amounts.
Upgrade powers as a variable
However strong the proofs, if an admin can freely change the verifier contract on Ethereum, the guarantee becomes trust in that admin. Whether upgrades are delayed long enough for users to exit, and whether a multisig or security council controls them, largely determines real safety.
A bug in a proof system's implementation could, in theory, let an invalid state through. Some networks use multiple independent proof systems or include a mechanism to pause if something goes wrong.
Ethereum.org's material on ZK rollups describes these networks as maturing over time, with training wheels such as upgrade councils gradually removed. Knowing which stage a network has reached is part of judging its risk.
Limits of what proofs cover
Zero-knowledge proofs are powerful, but they do not remove every risk. Data availability, upgrade powers, sequencer operation, and bridge contracts all lie outside what the proof covers.
The comparison and scenario describe general designs. When evaluating a real network, check Ethereum.org and the project's current documentation, checking how recent each one is, and ask separately whether the computation is correct and whether you can get your funds out.