Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Farage faces probe over crypto billionaire gift

    May 14, 2026

    France opens trial for $30M diamond and crypto investment scam case

    May 13, 2026

    Roaring Kitty X account hacked for RKC coin dump

    May 13, 2026
    Facebook X (Twitter) Instagram
    Ai Crypto TimesAi Crypto Times
    • Altcoins
      • Bitcoin
      • Coinbase
      • Litecoin
    • Blockchain
    • Crypto
    • Ethereum
    • Lithosphere News Releases
    X (Twitter) Instagram YouTube LinkedIn
    Ai Crypto TimesAi Crypto Times
    Home » Transaction spam attack: Next Steps

    Transaction spam attack: Next Steps

    Michael JohnsonBy Michael JohnsonApril 2, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Today the network was attacked by a transaction spam attack that repeatedly called the EXTCODESIZE opcode (see trace sample here), thereby creating blocks that take up to ~20-60 seconds to validate due to the ~50,000 disk fetches needed to process the transaction. The result of this was a ~2-3x reduction in the rate of block creation while the attack was taking place; there was NO consensus failure (ie. network fork) and neither the network nor any client at any point fully halted. The attack has since, as of the time of this writing, mostly halted, and the network has for the time being recovered.

    The short-term fix is for users, including miners, enterprise users (including exchanges) and individuals to run geth with the flags:

    –cache 1024 –targetgaslimit 1500000 –gasprice 20000000000

    Or Parity with the flags:

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

    This (i) increases the cache size, reducing the number of disk reads that nodes need to make, and (ii) votes the gas limit down by ~3x, reducing the maximum processing time of a block by a similar factor.

    In the medium term (ie. several days to a week), we are actively working on several fixes for the Go client that should both provide a more stable resolution for the present issue and mitigate the risk of similar attacks, including:

    • A change to miner software that automatically temporarily cuts the gas limit target by 2x when the miner sees a block that takes longer than 5 seconds to process, allowing for adjustments similar to what was coordinated today to happen automatically (see here for a pull request; note that this is a miner strategy change and NOT a soft fork or hard fork)
    • Numerical tweaks to cache settings
    • Adding additional caches
    • Adding an additional cache for EXTCODESIZE specifically (as it is likely that EXTCODESIZE reads are several times slower than other IO-heavy operations since the contracts that are being read are ~18 KB long)
    • An on-disk cache of state values that allows them to be more quickly (ie. O(log(n)) speedup) accessed

    We are also exploring the option of replacing the leveldb database with something more performant and optimized for our use case, though such a change would not come soon. The Parity team is working on their own performance improvements.

    In the longer term, there are low-level protocol changes that can also be explored. For example it may be wise to add a feature to Metropolis to increase the gas costs of opcodes that require reads of account state (SLOAD, EXTCODESIZE, CALL, etc), and especially read operations that read external accounts; increasing the gas cost of all of these operations to at least 500 would likely be sufficient, though care would need to be taken to avoid breaking existing contracts (eg. simultaneously implementing EIP 90 would suffice).

    This would put a much lower upper bound on the maximum number of bytes that a transaction may read, increasing safety against all potential attacks of this kind, and reducing the size of Merkle proofs and hence improving security for both light clients and sharding as a side effect. At present, we are focusing on the more immediate software-level changes; however, in the long term such proposals should be discussed and contract developers should be aware that changes of this sort may take place.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Michael Johnson

    Related Posts

    Clear Signing: Making Transaction Approvals Safer on Ethereum

    May 12, 2026

    Protocol Cluster Updates: May 2026

    May 11, 2026

    Soldøgn Interop Recap ☀️ | Ethereum Foundation Blog

    May 2, 2026

    Comments are closed.

    Don't Miss

    Farage faces probe over crypto billionaire gift

    Crypto May 14, 2026

    Parliamentary standards watchdog formally launched a probe into Nigel Farage over an undeclared £5M gift…

    France opens trial for $30M diamond and crypto investment scam case

    May 13, 2026

    Roaring Kitty X account hacked for RKC coin dump

    May 13, 2026

    WBTC supply contracts this month following Justin Sun custody drama

    May 13, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo
    Our Picks

    This feed has expired. Please contact us for pricing options.

    May 5, 2026

    AGII Introduces Scalable AI Execution Layer for Decentralized Systems

    May 1, 2026

    Lithosphere Deploys Full-Stack Development Environment for AI-Native Applications

    May 1, 2026

    Lithosphere Integrates AI Mock Providers for Continuous Integration Workflows

    April 30, 2026

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    Demo
    • Popular
    • Recent
    • Top Reviews

    Colle AI Positions Intelligent Design as the Future of NFT Creation

    March 14, 2026

    ICP price retests key level: what’s the outlook?

    March 14, 2026

    Treasury Staking Initiative | Ethereum Foundation Blog

    March 14, 2026

    Farage faces probe over crypto billionaire gift

    May 14, 2026

    France opens trial for $30M diamond and crypto investment scam case

    May 13, 2026

    Roaring Kitty X account hacked for RKC coin dump

    May 13, 2026
    Latest Galleries
    [latest_gallery cat="all" number="5" type="slider"]
    Latest Reviews
    Demo
    Top Posts

    This feed has expired. Please contact us for pricing options.

    May 5, 20263 Views

    Lithosphere Deploys Full-Stack Development Environment for AI-Native Applications

    May 1, 20262 Views

    Lithosphere Integrates AI Mock Providers for Continuous Integration Workflows

    April 30, 20262 Views

    Lithic Introduces zk-Verifiable AI Execution Standard (LEP100-5)

    March 17, 20262 Views
    Don't Miss

    Farage faces probe over crypto billionaire gift

    Crypto May 14, 2026

    Parliamentary standards watchdog formally launched a probe into Nigel Farage over an undeclared £5M gift…

    France opens trial for $30M diamond and crypto investment scam case

    May 13, 2026

    Roaring Kitty X account hacked for RKC coin dump

    May 13, 2026

    WBTC supply contracts this month following Justin Sun custody drama

    May 13, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    Demo
    Top Posts

    Xiaomi rolls out MiMo V2.5 with multimodal AI and improved efficiency

    April 23, 202614 Views

    Meta’s Muse Spark ends its open-source AI era

    May 9, 202611 Views

    Pi Network confirms Consensus 2026 sponsorship

    May 2, 20268 Views

    Anthropic revenue just hit a $30 billion run rate

    April 9, 20268 Views
    Don't Miss

    Farage faces probe over crypto billionaire gift

    Crypto May 14, 2026

    Parliamentary standards watchdog formally launched a probe into Nigel Farage over an undeclared £5M gift…

    France opens trial for $30M diamond and crypto investment scam case

    May 13, 2026

    Roaring Kitty X account hacked for RKC coin dump

    May 13, 2026

    WBTC supply contracts this month following Justin Sun custody drama

    May 13, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    X (Twitter) Instagram YouTube LinkedIn
    Our Picks

    Farage faces probe over crypto billionaire gift

    May 14, 2026

    France opens trial for $30M diamond and crypto investment scam case

    May 13, 2026

    Roaring Kitty X account hacked for RKC coin dump

    May 13, 2026
    Recent Posts
    • Farage faces probe over crypto billionaire gift
    • France opens trial for $30M diamond and crypto investment scam case
    • Roaring Kitty X account hacked for RKC coin dump
    • WBTC supply contracts this month following Justin Sun custody drama
    • Yellow Network’s Sirkia sees CLARITY Act as reset
    © 2026 - 2026

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