Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»ETHEREUM NEWS»Deal Spam Attacks: Next Steps
ETHEREUM NEWS

Deal Spam Attacks: Next Steps

By Crypto FlexsApril 4, 20243 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Deal Spam Attacks: Next Steps
Share
Facebook Twitter LinkedIn Pinterest Email

Today the network was hit by a transaction spam attack that repeatedly called the EXTCODESIZE opcode (see trace sample). here), the ~50,000 disk fetches required to process a transaction result in blocks that take up to 20-60 seconds to validate. As a result, the block generation rate was reduced by a factor of 2-3 during the attack. There were no consensus failures (e.g. network forks) and neither the network nor its clients were completely disrupted at any point. The attacks have since largely stopped and the network is currently recovering.

A short-term solution is for users, including miners, enterprise users (including exchanges), and individuals, to run geth using the flag.

–cache 1024 –targetgaslimit 1500000 –gasprice 20000000000

Or parity with flags:

–cache-size-db 1024 –gas-floor-target 1500000 –gasprice 20000000000 –gas-cap 1500000

This (i) reduces the number of disk reads a node must perform by increasing the cache size, and (ii) reduces the maximum processing time of a block by a similar factor by lowering the gas limit by ~3x.

In the medium term (e.g. a few days to a week), we are actively working on a number of fixes to the Go client that could provide more reliable solutions to current issues and mitigate the risk of similar attacks. These include:

  • If the miner encounters a block taking more than 5 seconds to process, we will make a change to the miner software that automatically reduces the gas limit target by a factor of 2 temporarily, allowing a similar adjustment to what was adjusted today to occur automatically (see here For pull requests, this is a minor strategy change and not a soft fork or hard fork.)
  • Numerical adjustments to cache settings
  • Add additional cache
  • Added additional cache specifically for EXTCODESIZE (since the contract being read is ~18KB long, EXTCODESIZE reads are likely to be several orders of magnitude slower than other IO-heavy operations)
  • An on-disk cache that can store state values ​​more quickly, e.g. O(log(n)) speedup) accessed

We are also exploring options to replace the leveldb database with a more performant and optimized database for our use cases, but that change will not be happening anytime soon. The Parity team is working on performance improvements ourselves.

In the long term, there are also low-level protocol changes that can be explored. For example, it may be wise to add a feature to Metropolis that increases the gas cost of opcodes that require read operations, such as reading account status (SLOAD, EXTCODESIZE, CALL, etc.), especially reading external accounts. It may seem like just increasing the gas cost of all these operations to at least 500 would be sufficient, but care must be taken to avoid breaking any existing contracts (e.g. implementing them simultaneously). EIP 90 will be sufficient).

This sets a much lower cap on the maximum number of bytes a transaction can read, increasing safety against all potential attacks of this kind and reducing the size of the Merkle proof, improving security for both light clients and sharding. effect. Currently we are focused on more immediate software level changes. However, in the long term, such proposals should be discussed and contract developers should be aware that these kinds of changes may occur.


Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Stocks surpass cryptocurrencies in Hyperliquid. ARK says it changes everything

July 25, 2026

The Ripple-linked token rose 4% as traders watched it break toward $1.35.

July 21, 2026

XRP hit $1.20 as Upbit flows hit their highest share since May 2024.

July 17, 2026
Add A Comment

Comments are closed.

Recent Posts

FirmsDirectory Introduces New Badge and Recognition System to Highlight Business Achievements Across Industries

November 4, 2026

Public Launch of Real Pokémon and One Piece Cards, Uncapped Bitcoin Rewards

November 4, 2026

NEAR Mobile Hits #1 in Finance App Rankings and Charts Across 38 Countries as NEAR Ecosystem Gains Momentum

November 4, 2026

AI, Tokenization and Connected Infrastructure to Reshape the Future of Finance

November 4, 2026

MEXC Expands Stock Futures Coverage to Six Global Markets in Q3 as 0808 Stock Season Trading Volume Tops $50B

November 4, 2026

tenge deposits and withdrawals with any KZ bank card

November 4, 2026

MEXC Upgrades Futures Earn to Empower Retail Traders With a Clearer, More Intuitive Experience

November 3, 2026

Crypto Prop Firm Offers Funded Trading Accounts Up to $200K & 30-Minute Tournaments

November 2, 2026

Bitmine Immersion Technologies (BMNR) Announces ETH Holdings Reach 6.06 Million Tokens, and Total Crypto and Total Cash & Marketable Securities Holdings of $14.5 Billion

November 2, 2026

TokenInsight Q3 Report -MEXC Ranks No. 2 in Commodity Perpetuals with 17.43% Market Share

November 2, 2026

Tria Launches Agentic Trading, Allowing AI Agents to Execute Crypto Trades Without Giving Up Control of Funds

October 30, 2026

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

FirmsDirectory Introduces New Badge and Recognition System to Highlight Business Achievements Across Industries

November 4, 2026

Public Launch of Real Pokémon and One Piece Cards, Uncapped Bitcoin Rewards

November 4, 2026

NEAR Mobile Hits #1 in Finance App Rankings and Charts Across 38 Countries as NEAR Ecosystem Gains Momentum

November 4, 2026
Most Popular

Sunbitit fake cryptocurrency exchange imitating a legitimate site

February 12, 2024

Bitcoin Dominance and Ethereum Price Prediction: Insights from Crypto Analysts – The Defi Info

January 21, 2024

Cryptocurrency At Casinos -Why Vavada Is The Best Choice

June 20, 2026
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2026 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.