Cointime

Download App
iOS & Android

Reducing latency games by levelling the playing field on block size for PBS

From ethresearch by antonydenyer

Thanks to @simbro for reviewing

Abstract

For this post, block size refers to the number of serialised bytes in a block. Currently, the average block size is over 100k https://etherscan.io/chart/blocksize 1. Note that we are talking about bytes, not gas limit.

Every block builder is motivated to submit a block to the PBS auction as late as possible. The more time a block builder has, the more time they have to accumulate transactions and, therefore, priority fees. For the purpose of this discussion, we assume no MEV is at play.

Discrete Blocks and Latency Games

Apologies if this is old news, but it’s worth reiterating. The role of a block builder is multifaceted and requires proficiency in several infrastructure tasks.

  1. Block builders must be able to access transactions; solo validators often miss out on priority fees because they are not well connected to the public mempool. A block builder with good connectivity to the mempool will likely win more blocks. They may even partner with wallets and other transaction originators to fast-track mempool transactions into their builder pipeline.
  2. They must have good networking connectivity with the auctioneer, aka relay. The lower the latency between them and the auctioneer, the more time they have to build blocks.
  3. Because the block builder is privileged, they can offer value-added features that no other entity can offer. Namely, revert protection through eth_sendBundle. The builder who can build a block the fastest whilst protecting private order flow from reverts will win more blocks (once again, we assume no mev).

Because blocks are discrete periods, pressure is applied to all parts of the stack towards the end of the block. Consequently, a block builder will do what it can to increase the amount of time it has to focus on its core activity, building the most profitable block.

Observations

Block builders will likely submit multiple bids using multiple strategies. Sometimes, the bids for smaller blocks are received in time, while those for larger blocks are not. This is simply because larger blocks are slower. Consequently, transactions that could be included in a block are not being picked up.

Hypothetical Scenario

A block builder has 100 transactions in their local mempool, totalling 0.5 eth in priority fees. The network is silent, and no other transactions are entering the mempool. The block builder submits the block (block a) to the auction. Near the very end of the block, another transaction enters the mempool with a whopping 1 eth in priority fees. The block builder now submits two more bids at the same time.

block b - containing our single juicy priority fee transaction for 1 eth.block c - containing 101 transactions with all the transactions we have totalling 1.5 eth.

Both bids are now higher than the previous bid. One of three scenarios now stands:

  1. The original bid wins as neither subsequent bid was reached in time by the auction before the deadline.
  2. The small block reaches the auction before the deadline, pushing out the previously submitted block of 100 transactions.
  3. The big block reaches in time, and all transactions are included.

It is easy to imagine an interplay between latency, block size and priority fees that are entirely opaque to users and sophisticated actors.

Real-world example

JetBuilder built https://etherscan.io/block/19598122 1 and only used 12% of the block space available, paying ~0.15 eth for the block. We observed them missing at least 40 transactions that could have been included in that block. The example transactions were in the mempool for at least five blocks (thanks to https://www.ethernow.xyz 1). They all landed on-chain in either the next block or the one after.

block_19598122_missed.txt (4.2 KB)

Proposal

We should have some floor usage in gas terms to prevent transactions from bullying other transactions out of a block.

The gas floor target could be calculated in many ways, such as a predefined fixed target, half the gas limit, or a dynamic adjustment based on previous consumption (similar to 1559). It doesn’t need to be elegant or exact; it just needs to be something to incentivise block builders to utilise block space.

The penalty for not ‘filling’ the block would be something like gas target missed * base fee. This is the same price as putting a transaction in the block, except the block builder doesn’t get priority fees. Theoretically, a block builder could make a transaction with themselves, but the result is the same.

We are simply putting a price on what the network perceives as the underutilisation of block space.

Comments

All Comments

Recommended for you

  • CEL breaks through $0.55, with a 24-hour increase of more than 75%

    According to market data, CEL has broken through $0.55 and is currently priced at $0.5651, with a 24-hour increase of over 75%. The market is volatile, so please be prepared for risk control.

  • SlowMist: The total loss from security incidents last week (April 28-May 4, 2024) exceeded US$71.4 million

    According to the weekly security report (April 28 - May 4, 2024) released by SlowMist, the total loss this week exceeded $71,399,000. An incident this week resulted in losses rising from the nine-digit range to the astonishing ten-digit range. Surprisingly, this was not due to complex technical flaws or sophisticated phishing scams, but a simple error that could have been easily avoided by implementing a whitelist. Multiple security incidents include:

  • Tether issued USDT worth $240 million on May 4 and redeemed USDT worth $8.6 million

    According to ChainArgos monitoring, on May 4th, Tether conducted a large-scale issuance and redemption activity. A total of $240 million USDT was issued that day, while $8.6 million USDT was redeemed.

  • Ethereum stablecoin transaction volume breaks monthly record in April

    The total transaction volume of stablecoins on Ethereum last month was significantly higher than any previous month, but most of the trading volume was contributed by a single stablecoin, DAI. As previously reported by The Block, DAI is increasingly being used for complex MEV transactions, usually involving flash loans, with a large portion of DAI being minted and returned in a single transaction. Just one of these transactions increased DAI trading volume by nearly $1 billion.

  • The Ethereum network has currently destroyed more than 4.28 million ETH

    According to Ultrasound data, as of now, the Ethereum network has burned a total of 4,287,144.91 ETH. Note: After the Ethereum London upgrade introduced EIP-1559, the Ethereum network will dynamically adjust the BaseFee of each transaction based on transaction demand and block size, and this portion of the fee will be directly burned and destroyed.

  • Cointime May 5th News Express

    1.The Federal Reserve reduced its balance sheet by $77 billion in April, and the size of its balance sheet fell below $7.4 trillion2.Former Bitmex CEO: Bitcoin will trade between $60,000 and $70,000 before August 3.SLERF total destruction exceeds 7 million USD4.ether.fi large staker initiates pledge withdrawal application for 37,140 ETH5.Web3 digital asset company Alpha Transform Holdings makes strategic investments in Arhasi and Cloudbench 6.A trader spent 402 ETH to buy 732,326 FRIEND, with an unrealized profit of $653,0007.A certain address has sold a total of 677,197 FRIEND airdrops through BunnySwap, making a profit of approximately $1.15 million8.A multi-signature wallet withdrew 915.85 billion PEPE from Binance9.The NFT project Blob team engraved the rune EPIC•EPIC•EPIC•EPIC on the Epic Satoshi block of Bitcoin’s fourth halving10.On-Chain Analyst Predicts Six to Twelve Months of 'Parabolic Advance' for Bitcoin

  • Sui Network addresses claims about its token supply

    Sui maintains that its tokenomics are sound and that it uses reputable third parties to handle token storage.

  • Is Bitcoin price going to crash again?

    Strong technical resistance levels and a high number of profitable traders pose the risk of modest pullbacks in the Bitcoin market.

  • What are tokenized commodities?

    Tokenized commodities, which include energy resources, agricultural products, precious metals and other tangible things, are digital representations of real-world assets.

  • Bitcoin opens $63K futures gap as thin liquidity threatens BTC price

    Bitcoin market participants are doubting the staying power of the ongoing BTC price relief bounce.