How Does the Size of the Zero-Knowledge Proof Affect Layer 1 Gas Costs?
The size of the zero-knowledge proof directly impacts the Layer 1 gas costs because the proof data must be published and verified on the main chain. Smaller proofs require less data to be stored and less computation for the Layer 1 smart contract to verify, resulting in lower gas fees.
This is a primary reason why zk-SNARKs are favored for their small proof size, as it contributes significantly to the cost-efficiency of the rollup.