Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

ZK-rollup fraud proof

A mechanism in ZK-rollups that allows anyone to submit evidence of invalid state transitions, triggering penalties for malicious sequencers. It serves as a fallback security measure when zero-knowledge proofs are not immediately verifiable.

Technical definition

In ZK-rollups, fraud proofs are a secondary validation layer that operates when the primary zero-knowledge proof (ZKP) cannot be instantly verified or is not yet available. If a sequencer submits an incorrect state transition (e.g., by manipulating transaction execution), a watcher or challenger can submit a fraud proof to the rollup contract. This proof typically includes the disputed transaction and a pre-state root, demonstrating that the sequencer’s claimed state transition violates the rollup’s rules. The contract then verifies the fraud proof and slashes the sequencer’s bond, reverting the invalid state. Fraud proofs rely on the assumption that at least one honest participant monitors the rollup and can provide the necessary data to reconstruct the correct state.

An analogy

Imagine a notary public who certifies a contract’s validity by checking all signatures and terms. If someone later claims the contract was forged, a fraud proof is like presenting the original signatures and timestamps to prove the forgery. The notary (or a judge) then invalidates the fraudulent claim and penalizes the forger.

Why it matters

Fraud proofs provide a critical safety net for ZK-rollups, ensuring correctness even when zero-knowledge proofs are delayed or computationally expensive to verify. They enable trustless operation by allowing anyone to challenge invalid state transitions without relying solely on cryptographic proofs.

Where it came from

Fraud proofs were first proposed in the context of optimistic rollups (e.g., Optimism, Arbitrum) as a primary security mechanism. Their adaptation for ZK-rollups emerged as a hybrid approach to address latency issues in ZKP generation, with early implementations appearing around 2020–2021 in projects like zkSync Era and Polygon zkEVM.

Example in practice

In zkSync Era, if a sequencer attempts to include a transaction that steals funds by manipulating the smart contract state, a watcher can submit a fraud proof to the rollup contract. The contract verifies the fraud proof, reverts the invalid state, and slashes the sequencer’s bond, returning the stolen funds to the correct state.

Common misconceptions

  • Fraud proofs are the primary security mechanism in ZK-rollups → Fraud proofs are a secondary mechanism; zero-knowledge proofs are the primary security layer.
  • Fraud proofs eliminate the need for zero-knowledge proofs → Fraud proofs complement ZKPs but do not replace them; they are used when ZKPs are unavailable or unverifiable.

Risks & limitations

  • Data availability dependency: Fraud proofs require access to historical state data, which may not always be available if the rollup relies on external data availability layers (e.g., Celestia).
  • Latency in dispute resolution: The challenge period for submitting fraud proofs can take hours or days, delaying finality and exposing users to prolonged risk.
  • Economic attacks: Malicious actors may spam the rollup with fraudulent challenges to drain sequencer bonds or disrupt operations.
  • Complexity overhead: Implementing fraud proofs adds significant complexity to the rollup’s smart contracts, increasing the attack surface for bugs or exploits.

Related terms

About "ZK-rollup fraud proof" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can fraud proofs be used in all ZK-rollups?

No. Fraud proofs require the rollup to store enough historical state data to reconstruct the correct state, which is not feasible for all ZK-rollups due to storage constraints or design choices.

How do fraud proofs differ from ZKPs in terms of security?

ZKPs provide cryptographic certainty that a state transition is valid, while fraud proofs rely on economic incentives and game theory to deter invalid transitions. Fraud proofs are slower but can catch errors ZKPs might miss.

What happens if no one submits a fraud proof for an invalid state transition?

The invalid state remains finalized, and funds may be at risk. This is why fraud proofs are a fallback mechanism; they assume at least one honest participant is monitoring the rollup.