2023-03-12
Ethereum block space might be expensive, but blocks are cheap. Blocks regularly contain over 28x more in gas spent than is paid to the proposer, even when using MEV Boost. For example:
https://etherscan.io/block/16791398
- Proposer paid 0.0181 ETH
- Tx fees 0.519 ETH
Given this asymmetry, is there a way for solo stakers with a single validator to increase their yield from staking?
Multi-Block MEV and Lazy Multi-Block MEV describe how proposing two blocks in a row can lead to arbitrage opportunities and increased MEV.
As a validator, you know when your block proposal is coming up to 2 epochs in advance. If you build a block that e.g. removed all Uniswap transactions, you can submit it to a relay permissionlessly, and win the auction for the block directly before yours. This effectively “pauses” the chain from the perspective of Uniswap, creating off-chain arbitrage opportunities that can be re-balanced in the next block, the block that you already know you are going to propose. This is not a guaranteed money printer, as you have to pay upfront (only if you win the bid) and then hope/assume that you would make a profit from increased MEV in your next block. However, there are optimization strategies that can be used that reduce the uncertainty.
The attack becomes profitable if the value of MEV produced by the increase in arbitrage opportunities over the course of the “paused” slot is larger than the net cost to buy out the block.
As an Ethereum solo home staker, I am interested in the implications of MEV. This is a thought experiment to understand if it would be economically viable to “attack/censor/pause” the chain, even as a solo staker. It requires a “tragedy of the commons” mentality as the benefits (if any) gained by an individual or small group who employ this strategy would not have a significant impact on the host chain or individual DeFi protocol, but if everyone employed this strategy it would “kill the host”.
In no way am I advocating for this strategy to actually be implemented or used. This is purely a research question and thought experiment. If it can be done, and it is economically viable, someone will already be carrying out some form of this strategy.
I discussed with @MTorgin the risk of multi-block MEV when a single operator proposes multiple blocks in a row. His research showed that if a single operator is running ~0.5% of the validator network, then they would expect to propose two blocks in a row on average once a month. The chance of proposing 2+ blocks in a row increases as their percentage of total stake increases. This is a known attack vector (as Torgin wrote about it in 2021) however, with the growth of MEV Boost usage, my question is this:
Is it viable to permissionlessly build and propose a block that wins the MEV Boost auction for the block directly before your proposal, and profit from the MEV gained by removing/censoring transactions from the purchased block?
My hope is that the answer is:
“Yes, it is possible for anyone to propose a block and win the auction, but no, it is not profitable or economically viable”
Points to consider:
Unlike acquiring 0.5% of the entire network (a prohibitive capital cost for most), there are many solo validators already running one node, who can expect to propose a block every 2–3 months and could employ this strategy with each proposal. Running a block builder does require additional technical knowledge, as well as an understanding of how relays work, so this would be out of reach of most individuals. However, if an entity had e.g. 10+ validators, then it may become worth trying (assuming the strategy is actually profitable) to be able to offer a higher yield to their customers through increased MEV profits. It could also be a strategy employed by a smoothing pool that conducts this strategy on behalf of the members of the pool. The thought process, even for a single validator, would be “If I take part in this strategy, it could increase my return on my block proposals by an average of x%”. While this is not in the interest of Ethereum, if someone can offer a higher yield (as max profit relays do already, with sandwich attacks and other malicious MEV strategies) then in a free and open market, they inevitably will.
No change needs to be made to a validator, this strategy is achieved only through manipulating the block before the known proposal.
Anyone can run a block builder as Flashbots have opensourced their builder.
All relays can be pinged to find the current best bid, allowing a builder to pay as close to the optimum price as possible, subject to uncertainty in other block submissions after your call to the headers API endpoint described here.
As you only pay if you actually win the bid, this strategy is more likely to have a positive expectancy.
There would be some optimization needed, as significantly overbidding would likely win you the auction, but reduce or negate the profits generated. However, bidding too low/late reduces the chance of winning the auction, missing the opportunity altogether.
Pausing the chain completely
This already happens, when a validator misses a block proposal.
Targeting specific DeFi protocols
Relays are the gatekeepers for MEV Boost as they decide which blocks to suggest to the proposer.
Everyone can see an empty block, and relays could employ checks to reject empty blocks. However, currently relays either strictly adhere to a max-profit model (and it would be a breach of trust to do otherwise without very clear notice) or filter based on Tornado Cash transaction inclusion (but otherwise pick the highest value block out of the remainder). Relays may not filter based on things that are subjectively “good” for the network at the expense of profit, except for perhaps bloXroute ethical.
Censorship Resistance lists have been proposed as a way to ensure that a censored transaction will eventually make it into the chain, and may be used as a way to mitigate this strategy.
The min-bid parameter set by proposers sets a block value limit under which they will opt to build a block locally rather than outsource to the MEV Boost pipeline. This is generally done out of altruism, as proposers may sacrifice some profit in exchange for preventing any possible censorship by builders or relays. High adoption of min-bid reduces the opportunities to purchase low-value blocks as described. However, if this strategy proves to be profitable, it may disincentivize proposers from setting a min-bid, counteracting the network health benefits.
Future mitigation — if there is not a single block builder that builds the whole block. But that would only help for blocks that are not full.
Raising the floor price paid to proposers for blocks
Increasing the cost of using the chain during periods of high activity
Depressing gas prices
Poor DeFi end-user experience
I’m planning to continue researching this topic as an academic interest. This topic was inspired by conversations I had at the 2023 ETHDenver hackathon and has been a great way to learn more about Ethereum relays and block builders.
Reviewed and discussed with @MTorgin and @austonst.
Follow me on Twitter: @EridianAlpha