Many thanks to @linoscope, @donnoh, @Brecht, @sui414, @pascalst,and @cshg for their valuable feedback and comments.
How to Lose $200K every Two Weeks
tl;dr In this post, we analyze the economics of based rollups using total anarchy as a method of sequencing blocks. Focusing on the only live based rollup, Taiko, we highlight the inefficiencies of total anarchy. Specifically, we identify a critical inefficiency in L2 block building that resembles a priority gas auction (PGA), where competing proposers rush to include transactions before Taiko Labs’ proposer. This results in L2 blocks with redundant transactions being posted on-chain on L1, reducing the value of Taiko’s blocks and increasing its economic costs. As a result, Taiko Labs often incurs expenses to prove blocks with few or no profitable transactions.
Through a two-week analysis of block data, we observe that the market is dominated by four major proposers (including Taiko Labs). Our findings indicate that Taiko Labs faces significant losses due to consistently losing the PGA. Over this period, Taiko Labs lost approximately 83.9 ETH, which, at an average Ethereum price of $3,112, translates to a total loss of roughly $261,096 in just two weeks. This underscores the urgent need for better proposer incentives and mechanisms to mitigate these inefficiencies.
Introduction
Based rollups aim to enhance Ethereum scalability by integrating L2 operations with L1 for improved data availability and security. They leverage L1 for sequencing and settlement, avoiding the need for centralized sequencers, which promotes decentralization.
However, the total anarchy model used for sequencing in Taiko introduces significant inefficiencies. In this model, where block posting lacks hierarchy or coordination, any user can act as an L2 proposer and post blocks without restriction, promoting maximum permissionless participation. While this approach aligns with decentralization principles, it also introduces systemic challenges.
Vitalik described total anarchy as:
“Total anarchy: anyone can submit a batch at any time. This is the simplest approach, but it has some important drawbacks. Particularly, there is a risk that multiple participants will generate and attempt to submit batches in parallel, and only one of those batches can be successfully included. This leads to a large amount of wasted effort in generating proofs and/or wasted gas in publishing batches to chain.”
These drawbacks materialize in Taiko, where multiple L2 blocks are submitted for the same L1 slot, resulting in redundant transactions. Redundant blocks consume valuable L1 space, inflate fees, and diminish economic efficiency.
Inefficiency Caused by Redundant Transactions
In rollups using total anarchy, redundant transactions occur when multiple L2 blocks containing the same transactions are published to L1. These blocks may be submitted within the same L1 slot or across different slots. In such cases, both blocks are submitted to L1, consuming valuable blob space and incurring L1 fees for the L2 proposer. The first block processed on L1 is executed to determine the updated L2 state. Any redundant transactions in the second block, already included in the first, are invalidated, as their state transitions have already been applied. Unique transactions in the second block remain valid and still affect the L2 state.
The proposer of the second block faces significant economic inefficiencies. They incur the full cost of posting and proving the block but only earn rewards for valid, non-redundant transactions. This dynamic discourages proposers from submitting redundant blocks. Additionally, posting two blocks to the same L1 slot reduces the effective throughput of the network by occupying valuable block space with redundant data blobs, increasing congestion and costs.
Taiko’s Architecture and the Economics of redundant Blocks
Taiko exemplifies a based rollup using total anarchy as its sequencing design, prioritizing simplicity and decentralization. In this model, anyone can collect transactions from the L2 mempool, build a bundle (which becomes the L2 block when proposed by the L1 proposer), and submit it to L1 alongside data blobs containing transaction payloads. These blocks may include transactions or remain empty (containing only a single anchor transaction) to ensure chain continuity during low-demand periods. After block submission, proposers must generate and post a validity proof to confirm the block’s correctness, which incurs additional L1 transaction costs.
Even empty blocks must be proven to maintain the chain’s liveness and avoid slashing penalties. This requirement places a significant economic burden on fallback proposers like Taiko Labs during periods of low activity. When Taiko Labs includes profitable transactions, higher-bidding competitors often outpace it in the PGA environment, resulting in diminished rewards and economic challenges.
Priority Gas Auction Dynamics in Taiko
PGAs presents a recurring challenge in Taiko Labs’ operation. Competing searchers exploit Taiko Labs’ open block submission process by outbidding its proposer, using higher fees to ensure their block is executed first. Driven by economic incentives, these proposers monitor pending blocks and submit their own for the same L1 slot, offering higher transaction fees to secure inclusion.
When multiple blocks overlap in content, the first valid block determines the network’s state. Redundant transactions between Taiko Labs’ block and an earlier block are excluded, forcing Taiko Labs to bear the cost of proposing and proving blocks without proportional rewards. This creates a situation where Taiko Labs incurs the full cost of sequencing blocks but receives minimal or no profit, further straining the network’s economic sustainability.
These inefficiencies are especially pronounced during high-demand periods, when the PGA environment is most competitive. However, during low-demand periods, the Taiko Labs proposer is forced to maintain liveness by posting and proving blocks that may contain some transactions but are not full. While these blocks may offer some rewards, in most cases they cannot cover the L1 costs, making them unprofitable. As a result, PGAs not only redirect rewards to more sophisticated proposers but also undermine the incentives necessary to maintain the network’s liveness, placing a disproportionate economic burden on fallback proposers like Taiko Labs.
Analysis
Methodology
For this analysis, we evaluate proposer profitability by comparing their earnings with the costs incurred. The block rewards from L2 blocks represent the earnings, while the L1 publication costs and proving costs are considered the losses. For Taiko Labs proposer, the base fee associated with each block is included in its earnings.
- Taiko Proposer Net Profit:
\text{(L2 Priority Fees + Base Fee)−(L1 Publication Costs + Proving Costs)} - Other Proposers Net Profit:
\text{L2 Priority Fees − (L1 Publication Costs + Proving Costs)}
The analysis is based on blocks created between November 7, 2024, and November 22, 2024, covering Block IDs 538304 to 593793. This represents 9.34% of all blocks on the Taiko chain since genesis at the time of writing. This dataset provides insights into the economic performance of proposers who processed more than 500 blocks during this period.
Analysis of Proposer Rewards, Costs, and Profitability
The graph below presents an overview of rewards, costs, and profits for major proposers, highlighting the economic dynamics within the system. Taiko Labs, as the primary fallback proposer, is used as the baseline for evaluating profitability.
Key Observations
- Taiko Labs’ Proposer (0x000000633b68f5D8D3a86593ebB815b4663BCBe0)
- Net Profit: -83.9 ETH (approximately $261,096 at $3,112/ETH).
- Taiko Labs frequently incurs economic losses due to its fallback role in maintaining liveness and being outbid in the PGA environment by competitors, most notably Proposer A (0x41F2F55571f9e8e3Ba511Adc48879Bd67626A2b6) and Proposer B (0x66CC9a0EB519E9E1dE68F6cF0aa1AA1EFE3723d5). By offering higher fees and securing earlier blocks, these proposers reduce Taiko Labs’ ability to capture profitable transactions. The result is often blocks filled with only an anchor transaction, leaving Taiko Labs to incur the proving costs without receiving commensurate rewards.
- Most Profitable Proposer A (0x41F2F55571f9e8e3Ba511Adc48879Bd67626A2b6)
- Net Profit: 26.0 ETH (approximately $80,912 at $3,112/ETH).
- This proposer routinely outbids the Taiko Labs proposer, capturing the majority of profitable transactions by winning the PGA race and extracting more value.
- Second most profitable Proposer B (0x66CC9a0EB519E9E1dE68F6cF0aa1AA1EFE3723d5)
- Net Profit: 17.5 ETH (approximately $54,460 at $3,112/ETH).
- This proposer also strategically outbids Taiko Labs, securing profitable transactions and achieving substantial net gains. While slightly less profitable than Proposer A, Proposer B still efficiently balances rewards and costs.
- Third most profitable proposer C (0x9a5Cc6E3A3325CDc19fC76926CC9666c80139C09)
- Net Profit: 6.6 ETH (approximately $20.540 at $3,112/ETH).
- Although Proposer C posts a similar number of blocks as Proposer B, it earns only about half the profit. This discrepancy likely arises from less sophisticated bidding strategies, reducing overall profitability.
- Small-Scale Proposers
- Smaller-scale proposers exhibit lower overall activity. However, they often manage to remain profitable or near break even due to proportionally lower costs, benefiting from a more cautious approach within the PGA landscape.
Taiko Labs Proposer Outbid by Other Proposers
In this section, we analyzed instances where the two top-earning proposers outbid Taiko Labs. This happens when a proposer submits a block faster than Taiko Labs and secures its execution on L1 first.
This graph illustrates each instance where Proposer A outpaced the Taiko proposer in posting a block.
- Y-Axis: Represents the reward associated with each block (sum of L2 transaction fees).
- X-Axis: Represents the size of the posted block.
- Timeframe: Over the two-week period analyzed, this occurred 4,621 times.
In our analysis, we examined instances where blocks proposed by Proposer A were immediately followed by blocks proposed by Taiko Labs’ proposer.
Profitability Comparison:
- Proposer A:
- In blue on the graph, we observe all 4,285 profitable blocks proposed (92.7% profitability), while the not profitable blocks are shown in ligthblue.
- Taiko Proposer:
- In red, the graph shows that the Taiko Labs proposer achieved only 103 profitable blocks (2.2% profitability with 4,518 blocks resulting in 97.8% of blocks being unprofitable), with the not profitable blocks shown in pink.
- Economic Impact on Taiko:
- The total loss incurred by the Taiko Labs proposer, as a result of consistently being outbid by Proposer A, amounted to 18.37 ETH.
Similarly, we analyzed cases where blocks proposed by Proposer B preceded those proposed by the Taiko Labs proposer. This occurred 4,870 times during the observation period.
Profitability Comparison:
- Proposer B:
- Proposed 4,333 profitable blocks (89.0% profitability) in blue, with not profitable blocks shown in lightblue.
- Taiko Proposer:
- Achieved 132 profitable blocks (2.7% profitability with 4,738 blocks resulting in 97.3% of blocks being unprofitable) in red, with not profitable blocks in pink.
- Economic Impact on Taiko:
- The total loss incurred by the Taiko Labs proposer in these cases was 18.25 ETH.
Transaction Distribution Analysis
To further investigate proposer behavior, we analyzed the distribution of transactions per block using a Kernel Density Estimation (KDE) graph. This visualizes how proposers allocate transactions across blocks, highlighting differences in their strategies.
Key Observations
- Taiko Labs’ Behavior (0x000000633b68f5D8D3a86593ebB815b4663BCBe0):
- Low-Transaction Blocks (<100 Transactions): Approximately 24% (6,652 blocks) of Taiko Labs’ blocks fall into this category, with 99% resulting from being outbid in the PGA environment. When Taiko Labs’ blocks are outbid by competing proposers, overlapping transactions in subsequent blocks are invalidated, leaving only the anchor transaction in the final block.
- High-Transaction Blocks (>1500 Transactions): Around 24.1% of Taiko Labs’ blocks exceed this threshold, showing occasional success in capturing profitable opportunities.
- Taiko Labs’ fallback role and the penalties from redundant blocks lead to significant economic inefficiencies.
- Profit-Focused Proposers:
- Proposers A and B focus almost exclusively on high-transaction blocks, with over 46–58% of their blocks exceeding 1500 transactions.
- Both proposers frequently outbid Taiko Labs by submitting blocks with higher transaction fees, diminishing Taiko Labs’ reward opportunities.
Analysis of Block Profitability by Major Proposers
We continue our analysis by evaluating the number of profitable blocks proposed by each proposer and examining the distribution of these results in Taiko.
This graph illustrates the profitability of blocks published by major proposers (processing more than 500 blocks) during the analyzed period. It categorizes blocks into two groups: profitable blocks (green) and unprofitable blocks (red), highlighting the proportion of each for individual proposers.
Key Observations
- Taiko Proposer (0x000000633b68f5D8D3a86593ebB815b4663BCBe0)
- Profitable Blocks: 19.1%
- Unprofitable Blocks: 80.9%
- The majority of Taiko Labs’ blocks are unprofitable, reflecting its role in maintaining liveness, even if that requires posting unprofitable blocks. This outcome supports the hypothesis that Taiko Labs is consistently outbid in the PGA environment on profitable blocks, leaving it to act as a fallback proposer during periods of lower profitability.
- Proposer A (0x41F2F55571f9e8e3Ba511Adc48879Bd67626A2b6)
- Profitable Blocks: 93.4%
- Unprofitable Blocks: 6.6%
- This proposer maintains a highly efficient operation, focusing almost exclusively on profitable blocks, which suggests selective block proposal during high-demand periods.
- Proposer B (0x66CC9a0EB519E9E1dE68F6cF0aa1AA1EFE3723d5)
- Profitable Blocks: 89.8%
- Unprofitable Blocks: 10.2%
- Another highly efficient proposer, demonstrating strong profitability, likely by focusing on full blocks.
- Mixed Strategy Proposer (0x9a5Cc6E3A3325CDc19fC76926CC9666c80139C09)
- Profitable Blocks: 69.8%
- Unprofitable Blocks: 30.2%
- This proposer might not be as sophisticated as the other proposers, occasionally posting unprofitable blocks.
- Smaller Proposers (e.g., 0x2802E30d61d5ac0879c4F0c2825201a3D9C250Ef)
- Profitable Blocks: 96.8%
- Unprofitable Blocks: 3.2%
- This proposer began operations later in the analyzed period, starting at block 580181. Despite its smaller scale, it demonstrates a highly sophisticated strategy, focusing exclusively on profitable opportunities and avoiding unprofitable blocks entirely. This could indicate that it is one of the most advanced actors, strategically entering only when conditions are favorable.
Insights
This analysis reveals how competing proposers, driven by their own economic interests, create challenges for Taiko Labs. A critical issue arises when Taiko Labs posts blocks on L1 with low-priority fees, enabling more sophisticated actors to outbid them in the PGA environment. Our findings indicate that over 80% of Taiko Labs’ posted blocks were unprofitable, and being outbid occurred in more than half of the blocks proposed by Taiko. This highlights the economic inefficiencies Taiko Labs faces as it strives to maintain network liveness in an environment where competing proposers exploit its fallback role.
Possible Solutions
Using total anarchy for sequencing requires guarantees of execution to prevent redundant transactions. This approach can be challenging because, from the L1 perspective, transactions are executing correctly.
One potential solution is to add the L2 block ID field in the L2 block proposal function, causing the block proposal to revert if the target is missed due to competition from other proposers. While this still incurs a transaction cost for proposing, it avoids the expense of proving the block. Taiko Labs could potentially use revert protection to prevent conflicting blocks from getting on-chain. By doing this, they could avoid wasting transaction fees. However, it’s worth noting that revert protection introduces a trust assumption on the builder. Another problem might be when you have blocks with the same ID that don’t have redundant transactions.
Another possible solution is execution preconfirmations. However, ensuring execution guarantees on the L2 side adds complexity to the preconfirmation process. Having a single preconfer can provide guarantees that they will not publish conflicting blocks for the same slot, as doing so could result in slashing penalties. This mechanism can significantly reduce redundant submissions and lower L1 fee wastage. However, it also introduces execution complexity, posing challenges that must be addressed to ensure efficient implementation.
The solution that might be the easiest to implement involves the use of execution tickets. Execution Tickets, or others leader election mechanisms like based preconfirmation, provide a deterministic system to elect a single block proposer per slot. This approach minimizes conflicts and redundancy by ensuring that only one proposer is responsible for block submission at any given time.
Execution tickets have several advantages. By eliminating redundant block submissions, they reduce wasted resources and align proposer incentives with the system’s overall efficiency. However, implementing such a system introduces challenges to ensure fair and reliable leader election.
Discussion and Conclusion
While total anarchy encourages permissionless participation, it struggles to meet the efficiency demands of based rollups due to redundant blocks and the competitive PGA environment. Taiko serves as a compelling case study, illustrating the economic costs associated with inefficient block space utilization on L1.
Potential solutions such as execution preconfirmations could address these inefficiencies but add system complexity. Alternatively, introducing a leader election mechanism could reduce redundant blocks by adding structure, though it might also introduce centralization risks. A balanced approach could retain permissionless participation while penalizing harmful behavior, aligning decentralization with practical efficiency.
Future Work
- Profitability Analysis: Investigate whether Taiko Labs has ever been profitable or if competing proposers were consistently capturing the profits instead.
- Proof Costs: Evaluate the impact of off-chain proof generation costs on net profitability.
- Proposer Behavior: Study proposer strategies in detail. Initial decoding of a few L1 blobs revealed no instances of proposers directly copying Taiko Labs’ proposer blobs, but further analysis is needed to confirm patterns.
Acknowledgments
I would like to express my sincere gratitude to Flashbots for awarding the grant that made this work possible and for supporting my ongoing research on this topic. I also extend my thanks to the PBS Foundation for their initial support of this research.
FAQ:
How does Taiko Labs post blocks on L1?
Currently, the Taiko proposer operates openly by observing the public L2 mempool and publishing their blocks on the L1 mempool. Since everything is done publicly, outpacing the Taiko Labs sequencer by submitting blocks faster is relatively straightforward, provided you can generate the proof for the blocks you publish or find a prover willing to generate the proof on your behalf.
Data Collection?
To collect data, we listened to events from the contract responsible for proving and proposing: 0x06a9Ab27c7e2255df1815E6CC0168d7755Feb19a. From these events, we extracted the Taiko block ID in which the L1 block was recorded and the L1 transaction hash.
Using the transaction hash, it was straightforward to check the transaction fees associated with each transaction via RPCs. For L2 transaction fees and the L2 base fee, we used the L2 block ID and calculated the results based on the block reward. While this method might not be the fastest, acquiring data for Taiko has proven to be challenging and relatively slow.
In future posts, we aim to find a faster way to collect data for all chains.
Encrypted Mempool as a Solution?
An encrypted mempool wouldn’t solve the problem, as blocks with redundant transactions would still occur. Over time, this could lead to a monopoly where the most competitive and sophisticated searcher consistently posts blocks faster than others.
Are Proposer A and Proposer B Outbidding Each Other?
We found only 57 occurrences where these two proposers published blocks in immediate succession, indicating that direct PGA-style competition between them is relatively rare. Proposer A published first in 31 instances, making all of those blocks 100% profitable for Proposer A but only 54.8% profitable for Proposer B. Conversely, Proposer B published before Proposer A in 26 instances, and in those cases, both proposers’ blocks were profitable 80.8% of the time. Further analysis will be conducted for other proposers in a subsequent post.
How Can I Identify Blocks Impacted by Outbidding?
You can view it by simply checking TaikoScan. Often, when blocks are empty or contain fewer than 100 transactions, it suggests the proposer was outbid in the PGA environment. Even blocks with a higher number of transactions might have been affected; in such cases, comparing the block’s costs to its rewards is the only way to confirm. For a more in-depth analysis, decoding the blob is the most reliable approach.
Was Taiko Labs ever profitable?
To answer this question definitively, further analysis is needed. However, the intuition suggests that Taiko Labs becomes profitable under specific conditions. For other proposers, profitability occurs when \text{L2 Priority Fees − (L1 Publication Costs + Proving Costs) > 0}. If this condition is not met, they avoid publishing blocks that would result in a loss.
In contrast, the Taiko Labs proposer earns an additional Base Fee, making its profitability condition:
\text{(L2 Priority Fees + Base Fee) − (L1 Publication Costs + Proving Costs) > 0}
When this condition holds, Taiko Labs is profitable, as the Base Fee offsets the publication and proving costs that would otherwise make the block unprofitable for other proposers.