How Do ZK-Rollups Inherently Offer Better Privacy against Front-Running than Optimistic Rollups?
ZK-Rollups use zero-knowledge proofs to verify the validity of transactions without revealing the transaction data itself to the Layer 1 chain. While the sequencer still orders transactions, the data is typically compressed and posted in a way that is harder for external actors to parse and front-run on L1.
The inherent cryptographic proofs focus on validity, not necessarily privacy, but the data compression makes the mempool less transparent.