We use two calculation methods to evaluate the possible reduction in gas fees, TPS (transactions per second) and the ability to accommodate Rollups after implementing EIP-4844.
It is estimated that when the Calldata size is 10KB and 2KB respectively, EIP-4844 may accommodate more Calldata, ranging from 38 times to 192 times. Since more Calldata can be accommodated in the same block, the cost per unit of Calldata will also be reduced accordingly.
Assuming that the Calldata size of each Rollup is uniformly 2KB, EIP-4844 can only accommodate up to 384 Rollups.
Under normal circumstances (i.e. when the block reaches the target size), Ethereum will reach 175 TPS through EIP-4844, with a maximum of 350.
**Contrary to popular belief, EIP-4844 alone is not enough for Ethereum to significantly improve scalability. **
Utilizing alternative DA layers (such as Celestia) or DACs (such as zkPorter), improving the compression rate of L2 transaction data and increasing the proportion of zk Rollups will have an important impact on further improving the scalability of Ethereum.
Proto-danksharding (also known as EIP-4844) proposes to implement most of the logic and rules that Danksharding may use in the future. Currently, due to the high storage cost on L1, the transition fee for L2 is also relatively high. To solve this problem, EIP-4844 introduces a new data type Blob, which is cheaper and larger than calldata, providing another way for rollup data storage.
With the upcoming launch of EIP-4844, L2 sequencers may become more profitable. This is because the sequencer is responsible for importing transaction batches into L1 and paying data fees, and the L1 data fees paid by the sequencer will be significantly reduced. Low transaction fees have the potential to generate more MEV by increasing the number of orders on L2.
The Cancun upgrade will include EIP-4844, but there is no exact time for the upgrade yet. The Ethereum Foundation research team stated that the Cancun upgrade may be launched at the end of October. However, it is more likely to be launched around the first quarter of 2024.
**So, to what extent can EIP-4844 reduce transaction fees? **Currently, L2 transaction fees mainly consist of two parts:
Rollup Cost: The cost of packaging, submitting and storing a transaction on Ethereum.
Execution (ution) cost: The cost of running a transaction on L2
L2 Transaction Fee = Rollup Costs + ution Costs
= [ L1 Gas Price * (Calldata + Fixed Overhead) ] + [ L2 Gas Price * L2 Gas Used ]
Taking Optimism as an example, currently, nearly 80% of the total transaction fees come from L1 storage costs (ie, Calldata costs). We ignore the impact of other fees for now and propose two methods to estimate how much L2 transaction fees may be reduced after EIP-4844.
In EIP-4844, after the proposal is implemented, the size of each Blob is 128KB, and each Blob consumes 131,072 Gas. Therefore, on average each Blob data byte will consume 128 * 1024 / 131,072 = 1 Gas. In comparison, currently storing a single Calldata byte consumes 16 Gas. This shows that the storage cost of L2 transactions will be reduced by 16 times.
However, this method only compares the storage cost per byte and does not consider the total Gas capacity of the block. Since the total amount of Gas that a single block can carry may change after EIP-4844, L2 transaction storage costs may be reduced by more than 16 times.
The second method considers the block size and checks the number of times the current Calldata can be accommodated under different block sizes. According to the current parameters, under the target block size scenario, a block can accommodate 3 Blobs (0.375MB) and a maximum of 6 Blobs (0.75MB). Considering that the current Calldata of each block occupies about 2-10KB, after EIP-4844, it can accommodate up to 0.75 * 1024 / 2 = 384 times of Calldata.
However, as the block size increases from the target value to the maximum value, the gas price increases exponentially. Therefore, in the more common case (i.e. when the block reaches the target size), EIP-4844 can accommodate 38 - 192 times the Calldata of 10KB and 2KB Calldata respectively. **As the capacity of Calldata in the block increases, the storage cost of Calldata will also decrease accordingly. Therefore, the cost of L2 transactions will also be reduced accordingly.
In addition, assuming that the Calldata size of each Rollup is uniformly 2KB, EIP-4844 can only accommodate up to 384 Rollups. This does not reach the thousands of rollups that many people envisioned.
Based on this, we can also derive the order of TPS that Ethereum can achieve after EIP-4844. Currently, an average L2 transaction requires approximately 3000 Gas Calldata on L1. Considering that Calldata has a gas cost of 16 per byte, this indicates that each L2 transaction on L1 is approximately 187 bytes.
After EIP-4844, the target block size is 0.375 MB, and Ethereum generates a block every 12 seconds. Therefore, the available space per second is 0.375 / 12 * 1024 = 32 KB, which can accommodate 32 * 1024 / 187 = 175 transactions. Therefore, under normal circumstances (i.e. when the block reaches the target size), Ethereum’s TPS after the EIP-4844 upgrade should be 175, with a maximum of 350.
Although higher TPS can improve efficiency, it is worth noting that even with the implementation of EIP-4844, Ethereum is still not as good as Visa, which currently has a TPS of up to 1700. This gap may still cause L1 and L2 network congestion, especially in high-demand scenarios.
**Therefore, EIP-4844 alone is not enough to allow Ethereum to achieve greater scalability. **We still need a more cost-effective and efficient data availability solution to store more Calldata (such as a DA layer like Celestia or a DAC like zkPorter), which are still critical to achieve scalability.
Finally, the compression ratio of L2 transactions directly affects the size of Calldata stored in L1. The higher the compression ratio, the lower the L1 cost required. As zkRollup continues to develop, the amount of data that needs to be stored on L1 will become less and less, which will also be more conducive to improving the scalability of Ethereum. Because zkRollup is different from Optimistic Rollup, zkRollup only needs to store state changes instead of the entire transaction.
in conclusion
In this article, we use two different calculation methods to evaluate the possible reductions in gas fees, TPS (transactions per second), and the ability to accommodate rollups after implementing EIP-4844. The results show that, assuming that the Calldata size of each Rollup is uniformly 2KB, EIP-4844 can only support less than 400 Rollups at most. This is a far cry from the demand for thousands of Rollups that many expected. Utilizing alternative DA layers or DACs, increasing the compression rate of L2 transaction data, and increasing the proportion of zk rollups will all have a significant impact on further improving Ethereum’s scalability.
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
Roll-up economics: EIP-4844’s impact on scalability overestimated
Author: 0xfan, Smarti Lab; Compiler: Peng SUN, Foresight News
TL;DR:
Proto-danksharding (also known as EIP-4844) proposes to implement most of the logic and rules that Danksharding may use in the future. Currently, due to the high storage cost on L1, the transition fee for L2 is also relatively high. To solve this problem, EIP-4844 introduces a new data type Blob, which is cheaper and larger than calldata, providing another way for rollup data storage.
With the upcoming launch of EIP-4844, L2 sequencers may become more profitable. This is because the sequencer is responsible for importing transaction batches into L1 and paying data fees, and the L1 data fees paid by the sequencer will be significantly reduced. Low transaction fees have the potential to generate more MEV by increasing the number of orders on L2.
The Cancun upgrade will include EIP-4844, but there is no exact time for the upgrade yet. The Ethereum Foundation research team stated that the Cancun upgrade may be launched at the end of October. However, it is more likely to be launched around the first quarter of 2024.
**So, to what extent can EIP-4844 reduce transaction fees? **Currently, L2 transaction fees mainly consist of two parts:
Taking Optimism as an example, currently, nearly 80% of the total transaction fees come from L1 storage costs (ie, Calldata costs). We ignore the impact of other fees for now and propose two methods to estimate how much L2 transaction fees may be reduced after EIP-4844.
In EIP-4844, after the proposal is implemented, the size of each Blob is 128KB, and each Blob consumes 131,072 Gas. Therefore, on average each Blob data byte will consume 128 * 1024 / 131,072 = 1 Gas. In comparison, currently storing a single Calldata byte consumes 16 Gas. This shows that the storage cost of L2 transactions will be reduced by 16 times.
However, this method only compares the storage cost per byte and does not consider the total Gas capacity of the block. Since the total amount of Gas that a single block can carry may change after EIP-4844, L2 transaction storage costs may be reduced by more than 16 times.
The second method considers the block size and checks the number of times the current Calldata can be accommodated under different block sizes. According to the current parameters, under the target block size scenario, a block can accommodate 3 Blobs (0.375MB) and a maximum of 6 Blobs (0.75MB). Considering that the current Calldata of each block occupies about 2-10KB, after EIP-4844, it can accommodate up to 0.75 * 1024 / 2 = 384 times of Calldata.
However, as the block size increases from the target value to the maximum value, the gas price increases exponentially. Therefore, in the more common case (i.e. when the block reaches the target size), EIP-4844 can accommodate 38 - 192 times the Calldata of 10KB and 2KB Calldata respectively. **As the capacity of Calldata in the block increases, the storage cost of Calldata will also decrease accordingly. Therefore, the cost of L2 transactions will also be reduced accordingly.
In addition, assuming that the Calldata size of each Rollup is uniformly 2KB, EIP-4844 can only accommodate up to 384 Rollups. This does not reach the thousands of rollups that many people envisioned.
Based on this, we can also derive the order of TPS that Ethereum can achieve after EIP-4844. Currently, an average L2 transaction requires approximately 3000 Gas Calldata on L1. Considering that Calldata has a gas cost of 16 per byte, this indicates that each L2 transaction on L1 is approximately 187 bytes.
After EIP-4844, the target block size is 0.375 MB, and Ethereum generates a block every 12 seconds. Therefore, the available space per second is 0.375 / 12 * 1024 = 32 KB, which can accommodate 32 * 1024 / 187 = 175 transactions. Therefore, under normal circumstances (i.e. when the block reaches the target size), Ethereum’s TPS after the EIP-4844 upgrade should be 175, with a maximum of 350.
Although higher TPS can improve efficiency, it is worth noting that even with the implementation of EIP-4844, Ethereum is still not as good as Visa, which currently has a TPS of up to 1700. This gap may still cause L1 and L2 network congestion, especially in high-demand scenarios.
**Therefore, EIP-4844 alone is not enough to allow Ethereum to achieve greater scalability. **We still need a more cost-effective and efficient data availability solution to store more Calldata (such as a DA layer like Celestia or a DAC like zkPorter), which are still critical to achieve scalability.
Finally, the compression ratio of L2 transactions directly affects the size of Calldata stored in L1. The higher the compression ratio, the lower the L1 cost required. As zkRollup continues to develop, the amount of data that needs to be stored on L1 will become less and less, which will also be more conducive to improving the scalability of Ethereum. Because zkRollup is different from Optimistic Rollup, zkRollup only needs to store state changes instead of the entire transaction.
in conclusion
In this article, we use two different calculation methods to evaluate the possible reductions in gas fees, TPS (transactions per second), and the ability to accommodate rollups after implementing EIP-4844. The results show that, assuming that the Calldata size of each Rollup is uniformly 2KB, EIP-4844 can only support less than 400 Rollups at most. This is a far cry from the demand for thousands of Rollups that many expected. Utilizing alternative DA layers or DACs, increasing the compression rate of L2 transaction data, and increasing the proportion of zk rollups will all have a significant impact on further improving Ethereum’s scalability.