How Does Transaction Batching Serve a Similar Anti-Front-Running Purpose to Commit-Reveal?
Transaction batching involves aggregating multiple individual transactions into a single block or execution unit, which are then processed simultaneously at a single price point. This process prevents front-running because the individual transaction details are hidden until the entire batch is executed.
By executing all orders in the batch at the same time and price, there is no temporal priority for a front-runner to exploit, similar to how commit-reveal hides the order's content until execution.