Analyzing Missed Slot Through The Lens of Relays — A potential path for relay incentivization

Introduction

Relays in MEV-Boost are doubly-trusted stakeholders within the existing PBS landscape and yet they are not properly incentivized. People have discussed and are concerned over many ways in which validators and builders game the current system, such as slot proposal delay for timing games and colocation for latency optimization, all to maximize their MEV revenue. However, relays have been looked over as a public good who reap no benefit in being honest and trusted. Relays could easily unbundle transactions and steal MEV 4 if their rewards surpass any reputational cost and loss of future revenue. But so far, most relays don’t dare to collude — they may prefer to just quit relaying instead. Hence why I have shed some 5light on relays’ importance and explored the incentive dynamic across PBS with the hope of devising a sustainable plan for relay incentivization. With this piece, I would like to point out a new direction for thinking about this relay incentive problem from the lens of missed slots and propose approaches for profitable competitive and cooperative relaying.

Thanks to Toni 2Julian 2Mike 2Alex 4Dan 5Max 4Barnabé 2, and Blair 2 for the review and extensive discussions.

Special thanks to Danning 3 for sharing the queried raw data for my analysis.

Additional thanks to Alex 5 (Ultra sound) and Karthik 9 for the discussion and comments.

Original article link: https://ethresear.ch/t/analyzing-missed-slot-through-the-lens-of-relays-a-potential-path-for-relay-incentivization/18257

Problems with existing proposals

Largely in two parts:

  1. Incentive misalignment across validators and/or builders:
  2. Relay centralization — builders are incentivized to send bids to one relay only.

Most of the proposals to date (check the here 5 for more details) are trying to carve up a piece of builders’ bids for relays, which means that builders and/or validators are losing potential future profit by accommodating relays. Implementing such proposals will mean that you have to ask at least one of the two parties to make some compromises and requires a large amount of off-chain coordination work, which is hard to execute if not incentive-aligned.

Alternatively, building a competitive relay market could enable a path to monetization by hyper-optimizing relay latency. However, the current proposal of competitive relays captures values by out-competing other relays in latency and aggregating more bids. For context, here is an explainer diagram for competitive relay.

Figure 1. Diagram illustrating the bid flow among competitive relays with rebates

In this diagram, winning builder 4 sends the bid to relay 3 who then rebates a maximum of 0.029 ETH back to the builder 4. The bid transfer of the block is modified such that the relay’s bid amount and the rebate can be adjusted accordingly. Builder 4 will receive back the rebates, the delta minus the relay fee. And if there are competing relays, a market-drive relay fee reduction is expected. As such, competitive relay may lead to relay centralization where builders are incentivized to send their bid exclusively to a single relay that gives the most rebates with the best latency. If we were to extrapolate the competitive relay market, we will likely see a future where each block will be broadcasted by a single winning relay, instead of the more collaborative one that we see today. This raises a few questions:

1. How bad would the slot miss rate be if we assume all the blocks to be relayed by a single winning relay under the competitive relay market?
2. What is the cost of missed slots and what would that be for competitive relays?
3. What alternatives there are to improve the miss rate while better incentivizing relays?

Analysis of Slot Miss Rate via Single Relay Broadcasting

Existing competitive relay proposals attempt to double down on the latency game where they charge the delta between the highest bid and the second-highest bid from other relays. The builder will receive up to the delta amount of rebates, and the relay subsequently charges a % fee. Most builders today send their bids and the block to multiple relays with the hope of maximizing the block inclusion. However, with bid rebates offered via competitive winning relay, builders now have an incentive not to submit their bids to other relays. Therefore, bids will converge over one or two relays that most builders trust. One of the immediate problems that may arise from such centralization is the higher chance of missed slots for the network. Since there are fewer relays to broadcast the block payload when called getPayload from proposers, there will be a higher slot miss rate. However, whether it’s actually higher, how much higher, and how it correlates to the number of relays that propagate the payload is yet to be investigated thoroughly. To provide more context in an attempt to answer those questions, here are the results based on analyzing 30 days of relay data (across Nov ~ Dec 2023).

To determine whether single-relay broadcasting, where only one relay broadcasts the payload, results in more missed slots, I have drawn Figure 2. which shows the % of slot miss rate within its corresponding relay type, single vs cooperative. The results here show that single relay broadcasting results in 0.215% of missed slots which is 3.18 times higher than that of cooperative relay broadcasting, which is 0.0675%. The chart also indicates that single relay broadcasting constitutes about 74.6% of the total missed slot across the network, while the other 25.4% comes from cooperative payload broadcasting. Essentially 3 out of 4 missed slots are due to single relay broadcasting. We can observe that the slot miss rate is significantly higher for single-relay broadcasting.

Figure 2. Corresponding % of slot miss rate with payload broadcasted via single VS multiple relays (cooperative)

So far, I have grouped all cooperatives relaying under one bracket. But in reality, there could be 2, 3, or more relays participating in broadcasting, all of which may result in different slot miss rates. Hence, I have also categorized the slot miss rate under different numbers of broadcasting relays in Figure 3. This diagram shows that the slot miss rate decreases exponentially with an increasing number of broadcasting relays, and there are 0 missed slots with 5 or more relays broadcasting the payload.

Figure 3. Corresponding % of slot miss rate with different numbers of broadcasting relays

Some relays may have different network connectivity with diverse sets of registered validators, hence varied performance in payload broadcasting. To understand how different relays perform, Figure 4 categorizes the slot miss rate per relay during its single-relay broadcasting. The results suggest significant discrepancies in slot miss rate across relays where the highest miss rate is 1.52% (manifold) while the lowest is 0% (aestus). Other major relays like Flashbots, Ultra sound, and bloXroute have a miss rate of around 0.2%. It’s worth noting that there is also a significant discrepancy across the sampling size of the payload delivered for each relay. Smaller relays like Eden and Manifold tend to have higher miss rates due to the lower number of total payloads delivered as noted in Table 1. Additionally, Aestus and Agnostic have only 4~6% of their payloads broadcasted without any cooperative relays, which is considerably lower than others. This explains why those two have a relatively lower slot miss rate in Figure 4.

Figure 4. % of missed slots per relay without any cooperative relay

Few observations have become clear after going through the data.

1. Single relay broadcasting has an exponentially higher slot miss rate than cooperative relay broadcasting.
2. ¾ of the missed slots today come from single relay broadcasting.
3. Relays have varied slot miss rates. Well-connected relays (Flashbots, bloXroute, Ultra sound) have an average of 0.2% and less-connected relays 4–7x higher miss rate. Also, note that some less-connected relays can still achieve a low (in this case 0) miss rate by always participating in cooperative relaying.

It requires more data to attribute the exact cause for the higher miss rate among single relay broadcasting. What we are seeing here is observations that show some correlations between single relay broadcasting and missed slots. But does not definitively provide the cause nor the attributions as to why such a correlation exists. But here are some possible reasons that I see so far.

  1. Network topology: Some proposers might be positioned quite far from a relay. The roundtrip of sending getPayload and receiving and broadcasting that payloads take additional time that results in a higher chance of validators missing the attestations.
  2. Validator registrations: Some solo validators may only register with a few relays and have a narrower view of the incoming bids/builders. As such, it results in a higher miss rate when proposing due to other relays not receiving the getPayload calls.
  3. Relay Operation: Relay may have downtime, bugs, and bad network connectivity. This could be remediated via low-latency propagation networks like bloXroute’s BDN 1 or Chainbound’s Fiber Network 5. But relays are not well-incentivized at the end of the day ;((
  4. Builder’s bid bias: Certain builders could be sending bids only to a single relay, which contributes to a higher miss rate.
  5. Timing game: Proposer might be delaying the slot with the hope of receiving higher value blocks.

Now that we have a better picture of the slot miss rate, I can also extrapolate what the miss rate under competitive relay will look like. Assuming all the bid fragments and split into corresponding relays of their choice to maximize the relay rebates, it will have a slot miss rate that ranges from ~0.13% to ~1.52% (Figure 4 & Table 1). Given over 90% of the slots are broadcasted by major relays (Flashbots, Ultra sound, bloXroute), it’s safe to say that the current projected slot miss rate under a competitive market will be around 0.2%. With this number in mind, we can quantify the cost of missed slots and explore ways to incentivize cooperative relaying to minimize the slot miss rate.

Note: The number here does not account for missed slots induced by the timing game. Likely, the slot miss rate will be higher as the proposer timing game becomes more prevalent. Also, the number I have projected here is based on the Nov-Dec data and may not reflect the real missed slot since the relay and validator situations are constantly changing.

Cost of competitive relays = Cost of proposers missing slots

Currently, there are no penalties for missed slots for proposers and validators. The main “cost” here would be the opportunity cost of not receiving the rewards issuance. Here is the current rewards issuance scheme:

Table 2. Rewards issuance weighting by eth2book 1

The rewards are calculated per epoch where each epoch consists of 32 slots. The total available rewards issuance across all validators N are:

NRA+32(512RY+RAp+RYp)=Tb

where N is the number of validators, RA is the rewards for a single attestation, RY is the reward for a single sync committee contribution, RAp is the reward for a block proposal due to attestations, RYp is the reward for a block proposal due to sync committee contributions, and Tb is the maximum issuance per epoch in Gwei. A proposer missing a slot results in the loss of RAp+RYp rewards per slot.

Let’s take the number of validators as 900,000 and calculate the total proposer rewards per slot. With Eq 5 from the Appendix, it will be around 0.042 ETH per slot in the issuance rewards with an additional few thousand Gwei of priority fees and builder’s bid rewards from MEV-Boost that could range from a few ETHs to tens of ETHs (an average bid of 0.14 ETH). The total opportunity cost on average will sum up to be around 0.1442ETH per missed slot.

The current average slot miss rate overall is:

Total missed slot / Total slot =359350323×100=0.10%

out of which 27.3% of the payloads are delivered via a single relay. Based on the current miss rate, the cost of missed slots per day is:

Cost of missed slot per day=7200×0.0010×0.144

=1.0ETH

Under competitive relay with single relay broadcasting, I assume the overall slot miss rate tends towards around 0.2%. As such the cost of missed slot per day will be:

Cost of missed slot per day=7200×0.0020×0.144

=2.0ETH

Cost of missed slot per year=2×365

=730ETH

While this number is a rough estimate, an extra few hundred ETH per year could certainly cover the cost of multiple relay operations while incentivizing cooperative relaying. In the future where relay centralization happens among competitive relays, the cost of missing slots will double for proposers. This is where cooperative relaying comes to the rescue. If proposers have 4 or more relays cooperatively broadcasting the blocks, there would be almost no missed slot, reducing the missed slot cost for proposers. Note that the costs we calculated are for proposers, hence should not conflate it as a network cost.

Missed slot = Relay Incentives??

Missing slots result in an opportunity cost, which sets the upper bound for what relays could be feasibly paid to prevent such losses. Paying relays in this manner functions similarly to insurance. For solo validators especially, missing a slot incurs higher opportunity cost given the lower chance of proposing compared to large operators. To help reduce missed slots,I envision a viable path for relays to become profitable by offering Broadcasting as a Service (BaaS). To achieve this, however, we need a relay mesh network where a winning competitive relay could rapidly distribute the payloads post-commitment so that other relays can help propagate the payloads and minimize the missed slot.

Direct Channel Relay Communication Network (Relay Mesh Network):

To ensure that a competitive winning relay can quickly distribute block payloads and corresponding fees for other relays participating in BaaS, it is necessary to establish dedicated, low-latency direct communication channels between relays. These channels need to be significantly faster than the standard devp2p. One potential approach could be to set up a modified TCP protocol or utilize UDP for improved latency between known relays (reference here 2 for more). By creating a low-latency relay communication network, we can enhance relay incentivization in two ways: firstly, by incentivizing the competitive relay through bid rebates, and secondly, by distributing a portion of the fees across other relays for cooperative broadcasting. There are existing low-latency networks offered, such as BDN by bloXroute 1 that service both subscribing relays, traders/searchers, and validators. While the purpose is different from the relay mesh network, the goal of delivering trades/bids/payload fast is the same.

Enshrining Missed Slot Penalties (a nice-to-have minimal viable enshrinement for relay incentivization):

I originally started writing this piece to explore possible enshrinement for enabling relay incentivization. However, I realized after looking through data on missed slots that there is a relatively simple minimal viable enshrinement that will increase the relay profitability: missed slot penalty on proposers. Max has also prompted this idea nicely in his tweet here.

Max’s post 1 on missed slot penalties on the proposer timing game

Although his comment on missed slot penalty was aimed at fixing the proposer timing game 1, I believe it is beneficial for relays as well. There is a clear opportunity cost for missing a slot as a proposer, which sets the max bound for the fee that relays could earn. However, this bound could be further increased if there is a missed slot penalty on top of it. Assuming we take 15M base fee (100 Gwei) for the penalty as Max suggested, missing slots would cost additional 1,500,000,000 Gwei = 1.5 ETH which increases the cost of missed slots per day from about 1 ETH to 11.8 ETH per day. If under competitive relay, this number could increase up to 23.7 ETH per day. This is a very significant increase in cost but certainly should be taken with a grain of salt given the assumptions around penalty calculations and constant slot miss rate. Nonetheless, increasing the cost of missing slots will increase the value of BaaS and hence enable better cooperative relay incentivization on top of competitive relay rebates.

Challenges ahead With Missed Slot Penalties

One major concern around missed slot penalties is raising the barrier of entry and disproportionate penalties to solo stakers. Unlike large operators, solo stakers have potentially sub-optimal network connectivity, and less capital/manpower to maintain the validators. According to Figure 5 & 6, which look at missed slots from a validator angle, solo stakers roughly have a 4~6% miss rate while professional operators like Figments have 0.2~0.4% miss rate.

Max’s post 1 on missed slot penalties on the proposer timing game

Although his comment on missed slot penalty was aimed at fixing the proposer timing game 1, I believe it is beneficial for relays as well. There is a clear opportunity cost for missing a slot as a proposer, which sets the max bound for the fee that relays could earn. However, this bound could be further increased if there is a missed slot penalty on top of it. Assuming we take 15M base fee (100 Gwei) for the penalty as Max suggested, missing slots would cost additional 1,500,000,000 Gwei = 1.5 ETH which increases the cost of missed slots per day from about 1 ETH to 11.8 ETH per day. If under competitive relay, this number could increase up to 23.7 ETH per day. This is a very significant increase in cost but certainly should be taken with a grain of salt given the assumptions around penalty calculations and constant slot miss rate. Nonetheless, increasing the cost of missing slots will increase the value of BaaS and hence enable better cooperative relay incentivization on top of competitive relay rebates.

Challenges ahead With Missed Slot Penalties

One major concern around missed slot penalties is raising the barrier of entry and disproportionate penalties to solo stakers. Unlike large operators, solo stakers have potentially sub-optimal network connectivity, and less capital/manpower to maintain the validators. According to Figure 5 & 6, which look at missed slots from a validator angle, solo stakers roughly have a 4~6% miss rate while professional operators like Figments have 0.2~0.4% miss rate.

Based on some napkin math, blindly imposing every validator with missed slot penalties will punish the solo stakers magnitudes more than professional stakers like figments. This will likely incentivize solo stakers to migrate to staking pools in an attempt to minimize penalties. Hence, if the missed slot penalties are not designed carefully, it could exacerbate the validator centralization problems already faced by Ethereum today. One possible approach could be to have discriminatory missed slot penalties based on the stake size, assuming the validator cap is raised. This echoes the two-tiered staking and more nuanced staking mechanisms proposed by Vitalik in this post 1. While such an approach is less egalitarian, professional operators who hold large amounts of ETH and have a highly optimized slot miss rate may be still sufficiently incentivized. This is still dependent on how the missed slot is calculated. There is a possibility that operators may break up their stake across many smaller validators despite the cap raise in an attempt to avoid missed slot penalties.

Concluding thoughts

Through observing the missed slots from various angles, we have evidence to suggest that

  1. Slot miss rate will double under competitive relay with single broadcasting, not accounting for timing games.
  2. Slot miss rate can be improved exponentially with an increasing number of cooperatively broadcasting relays.
  3. Missed slots result in an opportunity cost for the proposers and hence the winning competitive relay.

From these observations, I have proposed two ideas to incentivize relays that enable both competitive and cooperative relaying.

  1. Creation of a low-latency relay mesh network for rapid payload distribution for further propagation, aka BaaS.
  2. Enshrining missed slot penalty on proposers as a minimal viable enshrinement for relay incentivization, giving more reasons for a proposer to not miss a slot, aka use BaaS.

While relay incentivization is challenging, it’s certainly not impossible with coordinated efforts by relay operators and modification to the current incentive for missed slots. I wish this piece uncovers the path to a future with profitable relays and gives some hope to those who are operating or thinking about operating a relay to support Ethereum PBS.

There is much more research work to be done to uncover the path forward for relays & PBS. Here is an incomplete list of some open questions that I have so far:

  1. What network topology results in a higher missed slot for single relay broadcasting?
  2. Could there be bid biases among builders submitting to multiple relays VS builders that don’t? And how does that contribute to the missed slots?
  3. How and how much should we penalize proposers for the missed slot without exacerbating validator centralization? Could there be heterogenous penalties applied based on the stake amount, similar to the tiered staking model proposed by Vitalik?
  4. Is this relay/acc???

I am looking forward to further discussions among the communities and many work that comes after this. Please also feel free to DM me 1 for any discussions.

Appendix:

Eq 1. RAp+RYp=WpW∑−WpRAN32+512WpW∑−WpRY

where RAN32 is the total attestation rewards per slot (proposer reward scale with number of attestors)

Eq 2. RA=14+26+1464×32b

Eq 3. RY=Wy32×512×W∑Tb

Eq 4. Base reward (b)=1,000,000,000×64√32,000,000,000×900,000=377Gwei

Eq 5. RAp+RYp=900,00032×864−8×14+26+1464×32b+512864−8×232×512×64×900,000×32b

=40,897,768+1,514,732

=42,412,500Gwei

=0.042ETH (Using Eq 1, 2, 3, 4 in Appendix)

Relevant resources:

You will also be interested to read

The Pursuit of Relay Incentivization

Opening remark On September 26th, 2023, Blocknative announced its decision to halt its block building and relay operations. When I heard the news ahead of the announcement, I was surprised. Even though I was well aware that companies that were operating the relays for PBS were bleeding cash, I did not expect anyone to actually […]

Infra
January 25, 2024
Screenshot 2024 02 21 At 6.30.36 Pm
An Overview of NFT Financialization

Key takeaways: · NFT financialization is still in the early stages, with peer-to-peer borrowing/lending appearing to be the best solution at present. · Oracle-based financialization platforms, including peer-to-pool lending and derivatives, find challenges to solve the issue of NFT floor price manipulation, which hinders business expansion. · The future trend of the NFT industry towards […]

NFT
January 24, 2024
The World Of 'trust Minimized' Middleware Part 1 Consensus Verification & Bridging 副本 (12)
The World of ‘Trust-Minimized’ Middleware: Consensus Verification & Bridging

Introduction Over the past few months, some crypto chads have openly discussed the meaning behind “trust-minimization”, a term that was slapped onto almost all of the new and flashy middleware/infra that comes with optimistic or ZKP for security. And the discussions around security assumptions behind trust-minimized bridges have spurred further discourse to reach a consensus […]

Infra
January 22, 2024
The World Of 'trust Minimized' Middleware Part 1 Consensus Verification & Bridging 副本 (8)
Ending LP’s Losing Game: Exploring the Loss-Versus-Rebalancing (LVR) Problem and its Solutions

Key Takeaways: LVR is important because 1) it disincentivizes AMM LPs from providing liquidity to the pool, and 2) it leads to the centralization of block building because searcher-builders who are performing CEX-DEX arbitrages can generate far more valuable blocks than neutral builders due to their exclusive orderflow. There are broadly two design philosophies to […]

DeFi
January 20, 2024
The World Of 'trust Minimized' Middleware Part 1 Consensus Verification & Bridging 副本 (10)