Optimistic rollups operate on a principle similar to ZK-rollups, but with a key difference: they presume transactions to be valid unless proven otherwise. Computations are only executed if a transaction's integrity comes under question.