Skip to content

Rollups

How blockchain rollups execute transactions, publish data and commitments, verify state transitions, settle on a base layer, and introduce distinct operational risks.

Updated

For educational purposes only; not financial, investment, bridge or security advice. A rollup’s guarantees depend on its deployed contracts, proof system, data availability, operator permissions, governance and base layer, all of which can change.

Direct answer

A rollup is a blockchain scaling design that executes transactions outside a base layer while using that base layer to publish protocol-defined data or commitments and to settle disputed or proven state transitions. Many transactions share the cost of base-layer data and settlement. A rollup is therefore more than transaction compression, and a state root by itself does not provide the transaction data needed to reconstruct the chain.

Optimistic rollups generally accept state claims unless a successful fault-proof challenge shows that a transition was invalid. ZK rollups submit validity proofs that the settlement contract verifies. These labels describe how state transitions are accepted, not a universal guarantee about sequencer decentralization, data storage, upgrade control, fees or withdrawal time.

How it works

  • Order and execute. A sequencer or another ordering mechanism selects transactions, orders them and computes the resulting rollup state. Users may receive a fast receipt before the result has base-layer confirmation.
  • Publish data. The system posts enough protocol-defined input data to the base layer, commonly as calldata or blobs, or uses a separate data-availability design. Data availability determines whether independent nodes can reconstruct and verify the rollup state.
  • Commit to state. The rollup posts state roots or other commitments that bind it to an execution result. A commitment is compact, but it is not the underlying transaction history.
  • Verify transitions. An optimistic design relies on a challenge window and a deployed fault-proof process; a ZK design relies on a validity proof and an on-chain verifier. Proof-system bugs, permissions and liveness still matter in both designs.
  • Settle and withdraw. The base-layer contracts decide when a claim or proof is accepted and how messages and assets can be finalized. Canonical withdrawals can have proof, challenge or finality delays; a fast bridge adds a separate liquidity provider and counterparty risk.
  • Upgrade and recover. Governance, security councils, guardians or administrators may pause or upgrade contracts. The exact timelock, escape path and forced-inclusion mechanism must be checked for the deployed rollup, not inferred from its category.

Example

Suppose a batch contains 1,000 transactions. Users collectively pay 0.8 ETH, while measured base-layer data costs 0.5 ETH and rollup execution costs 0.2 ETH. The unexplained remainder is 0.8 - 0.5 - 0.2 = 0.1 ETH, or 0.1 / 1,000 = 0.0001 ETH per transaction before proof generation, infrastructure, failed batches, capital costs and refunds. This is a cost reconciliation, not operator profit.

Before treating the batch as final, identify whether the receipt is only sequencer-confirmed, whether its data and commitment reached the base layer, whether the relevant fault-proof window ended or validity proof was accepted, and whether the withdrawal message separately became executable.

Risks

  • A centralized sequencer can censor, reorder or temporarily stop transactions.
  • Missing or unavailable batch data can prevent independent reconstruction and exits.
  • Fault-proof programs, validity circuits, verifiers or client implementations can contain bugs.
  • Challengers or proof producers can be offline, censored, underfunded or incorrectly permissioned.
  • Base-layer congestion, reorganization or failure can delay posting, proving and settlement.
  • Upgrade keys, guardians or governance can change code, parameters or bridge behavior.
  • Canonical bridges and token mappings can fail even when rollup execution is correct.
  • Fees, proof times and withdrawal delays vary by deployment and can change after upgrades.

Common misconceptions

  • All rollups store everything permanently on the base layer. Publication format and archival guarantees vary; blobs, for example, are not permanent storage.
  • A sequencer receipt is final settlement. It can be an early ordering promise rather than a base-layer-settled result.
  • ZK means private. In ZK rollups, validity proofs establish correct computation; transaction privacy is a separate design choice.
  • Optimistic means no verification. Correctness depends on reproducible data, a working fault-proof system and participants able to challenge invalid claims.
  • Lower average fees remove operational risk. Shared settlement can reduce cost, but sequencer, proof, governance, bridge and data-availability dependencies remain.

Sources

Navigation

Search the wiki...