Vitalik Buterns reveals Layer-3s to have “bigger role” as Layer-2 scaling ecosystem matures Monika Ghosh · 1 week ago · 3 min read
Three visions of L3 use-cases
StarkWare, which operates StarkNet, a ZK-rollup that serves as a Layer-2 Ethereum scaling solution, laid out three different visions of how Layer-3s could be used. Buterin considers all three visions as “fundamentally reasonable.”In the first scenario, Layer-3s can be used for customized functions such as privacy. The aim would not be to provide additional scalability in such a case. The Layer-2 would provide scalability to applications, and a Layer-3 would serve the customized functionality needed for different use cases.In the second vision, the Layer-2 offers general-purpose scaling, and the Layer-3 provides customized scaling through specialized applications. The Layer-3 would compute data through means other than the EVM or rollups, whose data compression is optimized according to specific data formats.In the third vision, Layer-3s can provide weakly-trusted scaling through Validiums, which use SNARKs to verify computation. Data availability, here, is the responsibility of a trusted third party. Buterin said that although Validiums offer a lower security grade than rollups, they are “highly underrated” and “vastly cheaper.”
Layer-3s can fix confirmation time vs fixed cost tradeoffs of rollups
While rollup transactions are cheap, rollups have to pay a high fixed cost every time they submit a batch of transactions to a Layer-1. For optimistic rollups that run on top of Layer-1s, the fixed cost can be as high as 21,000-Layer-1-gas per batch, while for ZK rollups, the cost can go up to 400,000-gas per batch, according to Buterin.If rollups wait longer to submit more transactions in one batch to lower the cost, it increases batch intervals. This means that users have to wait a very long to get a confirmation of their transactions.For a ZK rollup with a processing power of 5tps to submit a batch of transactions in every Ethereum block (every 12 seconds), gas per transaction would reach 10,368. However, if the batch interval increased to 1 minute, the gas per transaction reduces to 2,368.In the case of a ZK rollup inside a ZK rollup, the gas per transaction comes down to 501 with batch intervals of 12 seconds. Hence, Layer-3s can fix the time and cost tradeoff for rollups.
What is and isn’t a layer?
According to Buterin, stacking the same scaling solutions on top of each other does not “work well,” which is why the rollup on top of rollup model does not make sense. However, he argues that a three-layer structure where the second and third layers are assigned different purposes and functions can work.However, there is an unsolved semantic debate over what can be considered as a layer and what cannot, Buterin said. He provided his own definition of what properties constitute a Layer-2:
- “Their purpose is to increase scalability
- They follow the “blockchain within a blockchain” pattern: they have their own mechanism for processing transactions and their own internal state
- They inherit the full security of the Ethereum chain”
By B uterin’s definition, optimistic and ZK rollups are Layer-2s, but validiums, proof aggregations schemes, on-chain privacy systems, and Solidity fall outside the definition. While some of them can be referred to as Layer-3, not all of them should be, he wrote.Buterin added that “it seems premature to settle definitions while the architecture of the multi-rollup ecosystem is far from set in stone” and most of the Layer-3 discussions are still theoretical.But as the Layer-2 scaling ecosystem matures, Buterin expects more sophisticated and simpler Layer-3 constructions to play a larger role.