EIP-7825: Transaction Gas Limit Cap

Hello all,

I don’t understand the rationale behind this change. From the EIP itself (which is very short):

  1. DoS Attacks: A single transaction consuming most or all of the block gas can result in uneven load distribution and impact network stability.

Why couldn’t an attacker just DoS with multiple transactions? Just for the 21,000 initial gas of each transactions?

  1. State Bloat Risks: High-gas transactions often result in larger state changes, increasing the burden on nodes and exacerbating the Ethereum state growth problem.

Why? Again for the 21,000 gas?

  1. Validation Overhead: High-gas transactions can lead to longer block verification times, negatively impacting user experience and network decentralization.

Why 1 transaction of 10M gas is harder to verify than 10 transactions of 1M gas (actually my intuition is that it’s the opposite)?

edit: (from a chat with @Giulio2002) different transactions are (more likely) executable in parallel. Which explains 3.

Also, as stated earlier in the thread, putting a value lower than the current block gas limit is technically a breaking change. How can we know that there aren’t some critical actions in some smart-contracts that take more than 16M gas?

Thanks for the answers.

edit: this thread contains a lot of info about the rationale behind this EIP and the breaking change.

2 Likes