Researcher suggests miners are manipulating Ethereum blocks to exploit DeFi

Published at: Oct. 1, 2020

Some Ether (ETH) miners appear to be re-engineering blocks to take advantage of DeFi opportunities in an instance of what is termed “miner extractable value,” or MEV.

Miner extractable value was long anticipated by researchers as a potential exploit pattern for DeFi that leverages the miners’ unique protocol influence. Since miners have free reign over what transactions to include and in which order, this opens the way for several exploitation techniques for on-chain decentralized finance.

Anonymous researcher Frank Topbottom highlighted several convincing instances of MEV in the wild, in what is likely to be the first time these activities have been noticed by the public.

He noted several cases of suspicious transactions mined by major pools like SparkPool and F2Pool. These were often initiated by a small set of addresses and appeared first in blocks despite having a lower gas fee than others below. The behavior is not immediately explainable by “legitimate” activities like miner reward distributions. But it is also unclear what is the purpose of these transactions.

A more evident case of MEV can be observed with transactions from some minor pools, with Topbottom citing 2Miners, Minerall Pool and EzilPool, which hold about 2% of total hashrate.

One of the transactions in question presents several features that point to miner value extraction. The first clue is that its fee is effectively zero — just two Wei. This should not be confused with Gwei, or one billion Wei. The Wei is the smallest monetary unit of Ether, equal to a billionth of a billionth of Ether.

Two Gwei would be suspicious enough in today’s Ethereum fee market, but a two Wei fee transaction is unlikely to ever be confirmed at all. In reality, it was confirmed in just 17 seconds.

The second clue is that the transaction is an arbitrage trade that netted its sender about $70 out of a commitment of $2,800. Such a trade would never be profitable with today’s gas fees, hence existing arbitrage traders ignored the opportunity. While it is unclear who is the culprit behind this transaction, it is virtually impossible that this was done without assistance from miners.

Topbottom noted that in this case, the transaction made the market slightly more efficient by balancing out prices where others were unable to. But the miners’ power can go far beyond that.

Due to their power to reorder transactions at will, miners can front-run every single non-miner. This can be used to beat everyone else to arbitrage trades, auction liquidations and token offerings, among others.

There are benefits to this power, Topbottom noted. Miners could be the most efficient keepers, which would help avoid situations like Maker’s $0 collateral bids going through on Black Thursday. The flip side is that miners could send their own $0 bids and block legitimate auction participants altogether. This is incredibly unlikely as it would require collusion from all miners for extended periods of time, but the theoretical possibility highlights the power that miners hold.

A more realistic scenario is miners competing for high-value MEV, which would incentivize them to cause chain reorganizations to steal the “loot” from others. This would be extremely destabilizing to average users who would see their transactions deleted from the chain after confirmation.

Preventing miners from extracting value from DeFi is extremely difficult, as these actions do not go against consensus rules. It is also worth noting that this is not unique to Ethereum proof-of-work miners. Stakers in Ethereum 2.0 would have the same power, provided that the blockchain’s general architecture remains the same. Operators of some layer two solutions would also be able to front-run their users.

A potential solution being studied is auctioning MEV, which would formalize the behavior and “sell” the right to reorder transactions at will.

Tags
Related Posts
Ethereum miners plot hash-power ‘show of force’ against EIP-1559
Some Ethereum miners are trying to drum up support for a demonstration of force to show their opposition to the impending implementation of EIP-1559. Amid the backdrop of ever-escalating Ethereum fees, the Ethereum Improvement Proposal seeks to replace the network’s existing bidding-based fee market with a fixed price and burn mechanism. However, EIP-1559 — which is scheduled to go live in July, will significantly impact the revenue of miners. Some analysts estimating Ethereum miners could lose up to 50% of their profits. To signal their opposition to the proposal, some Ether miners are now planning a 51-hour show of force …
Technology / March 11, 2021
Using a DeFi protocol now costs more than $50 as Ethereum fees skyrocket
Gas prices on Ethereum posted fresh all-time highs on Tuesday as making a transaction now requires bidding more than 450 gwei, according to EthGasStation. Fees reach as low as 2 gwei in calm periods and were previously considered high at 30 gwei. The gas price is a generalized indicator of average prices, but translating it into actual transaction costs is not straightforward. Since different types of transfers consume varying amounts of gas, there is a very significant difference between simple Ether (ETH) transfers and interacting with a DeFi smart contract. Transferring Ether around only takes about $4 as of press …
Technology / Sept. 1, 2020
Shanghai Man: VeChain on TV, DOGE flips BTC volume, Hotbit hack and more ...
This weekly roundup of news from Mainland China, Taiwan, and Hong Kong attempts to curate the industry’s most important news, including influential projects, changes in the regulatory landscape, and enterprise blockchain integrations. Will DOGEmania ever stop? Dogecoin has officially flipped Bitcoin in a few categories here in China, with DOGE trading volume on leading Chinese exchange Huobi surpassing that of leading assets ETH and BTC. On May 6th, according to CoinGecko, DOGE volume made up more than 15% of total exchange volume, whereas BTC and ETH were around 8% each. Searches for ‘Dogecoin’ on WeChat surpassed searches for Bitcoin, with …
Adoption / May 6, 2021
Ethereum Transaction Fees Fall by 75% as Congestion Eases
The cost of sending a transaction on Ethereum plummeted today as congestion appears to be finally clearing. According to EthGasStation, the average gas fee on Wednesday is between 30 and 40 Gwei, with a notable 6 Gwei as the minimum to get a transaction confirmed in less than 30 minutes. This comes after a period of more than two months of elevated fees, touching at times more than 140 Gwei. Taking a standard Ether (ETH) transaction as an example, the average cost of sending it came down from about $1 to less than $0.25. The improvement is even more noticeable …
Technology / Aug. 5, 2020
Filecoin storage tops 1 billion GB as tokenized FIL launches for use in DeFi
Cryptocurrency infrastructure providers Anchorage and Tokensoft are teaming up to wrap FIL, the native token of decentralized file storage network FIlecoin, for use on Ethereum. The firms announced wFIL on Monday, promoting its use in decentralized finance applications including Compound, Maker and Uniswap. Filecoin ecosystem lead Colin Evra stated: “Wrapped Filecoin will enable some really creative DeFi products that create huge opportunities for Filecoin miners and storage users.” The news came the same day that Filecoin announced the storage capacity dedicated by its global mining community has exceeded one exbibyte — equal to more than one billion gigabytes. According to …
Technology / Nov. 25, 2020