Close Menu
Chain Tech Daily

    Subscribe to Updates

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

    What's Hot

    Luxor expands MicroBT partnership with $100 million mining rig deal

    April 27, 2026

    Charlie Kirk’s killing turned into memecoin spectacle

    April 27, 2026

    The Ethereum network is currently undergoing a DoS attack

    April 27, 2026
    Facebook X (Twitter) Instagram
    Chain Tech Daily
    • Altcoins
      • Litecoin
      • Coinbase
      • Crypto
      • Blockchain
    • Bitcoin
    • Ethereum
    • Lithosphere News Releases
    Facebook X (Twitter) Instagram YouTube
    Chain Tech Daily
    Home » Transaction spam attack: Next Steps
    Ethereum

    Transaction spam attack: Next Steps

    Olivia MartinezBy Olivia MartinezApril 27, 20263 Mins Read
    Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Tumblr 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 WhatsApp Reddit Tumblr Email
    Olivia Martinez

    Related Posts

    Ethereum April 27, 2026

    The Ethereum network is currently undergoing a DoS attack

    Ethereum April 27, 2026

    Announcement of imminent hard fork for EIP150 gas cost changes

    Ethereum April 27, 2026

    FAQ: Upcoming Ethereum Hard Fork

    Ethereum April 27, 2026

    Security Alert – Mist can be vulnerable when navigating to malicious DApps

    Ethereum April 27, 2026

    Uncle Rate and Transaction Fee Analysis

    Ethereum April 26, 2026

    Security Alert – Solidity – Variables can be overwritten in storage

    Leave A Reply Cancel Reply

    Don't Miss
    Crypto April 27, 2026

    Luxor expands MicroBT partnership with $100 million mining rig deal

    Luxor Technology Corporation has expanded its partnership with MicroBT through a $100 million commitment to…

    Charlie Kirk’s killing turned into memecoin spectacle

    April 27, 2026

    The Ethereum network is currently undergoing a DoS attack

    April 27, 2026

    Lithosphere Expands Developer Ecosystem with Lithic Toolchain Integration

    April 27, 2026
    Stay In Touch
    • Facebook
    • Twitter
    • YouTube
    • LinkedIn
    Our Picks

    Luxor expands MicroBT partnership with $100 million mining rig deal

    April 27, 2026

    Charlie Kirk’s killing turned into memecoin spectacle

    April 27, 2026

    The Ethereum network is currently undergoing a DoS attack

    April 27, 2026

    Lithosphere Expands Developer Ecosystem with Lithic Toolchain Integration

    April 27, 2026

    Subscribe to Updates

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

    Don't Miss
    Crypto April 27, 2026

    Luxor expands MicroBT partnership with $100 million mining rig deal

    Luxor Technology Corporation has expanded its partnership with MicroBT through a $100 million commitment to…

    Charlie Kirk’s killing turned into memecoin spectacle

    April 27, 2026

    The Ethereum network is currently undergoing a DoS attack

    April 27, 2026

    Lithosphere Expands Developer Ecosystem with Lithic Toolchain Integration

    April 27, 2026

    Subscribe to Updates

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

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    About Us
    About Us

    ChainTechDaily.xyz delivers the latest updates and trends in the world of cryptocurrency. Stay informed with daily news, insights, and analysis tailored for crypto enthusiasts.

    Our Picks
    Lithosphere News Releases

    Lithosphere Expands Developer Ecosystem with Lithic Toolchain Integration

    April 27, 2026

    Lithosphere Introduces Identity-Driven Architecture for Autonomous Systems

    April 24, 2026

    Lithic Enables Deterministic Control Over AI Execution in Smart Contracts

    April 23, 2026

    Lithosphere Integrates DNNS as Programmable Identity Layer in Makalu Environment

    April 22, 2026
    X (Twitter) Instagram YouTube LinkedIn
    © 2026 Copyright

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