Typefully

EIP-7983: Transaction Gas Limit Cap

Avatar

Share

 • 

5 months ago

 • 

View on X

More GAS discussions! @VitalikButerin and @nero_eth are drafting EIP-7983, proposing to cap $ETH tx gas limit at 16.77M: github.com/ethereum/EIPs/blob/1433b4b94dcaa7a3f77784aaef228d454a62b6d2/EIPS/eip-7983.md Let’s dive into the details... 🧵 1/7
Currently, Ethereum has no cap on tx gas limit. A single tx can consume the full block gas limit. The max gas limit per block is signaled by the validators and is set to 36M right now. 2/7
Through EIP-7983, they propose a protocol-level max limit of 16_777_216 gas per tx—regardless of the block gas limit. So even if validators signal 36_000_000 gas per block, no single tx can exceed 16_777_216 gas. 3/7
The objective? → Reduce risks of single-tx DoS attacks →Enable more predictable zkVM circuit design →Fairer gas allocation across txs in a block 4/7
However, it comes with a few caveats... This change requires extra validation at both RPC and validator levels. The RPC must check txs before adding them to the txpool, and validators must enforce the limit when building blocks. 5/7
Another thing it will introduce is a theoretical hard cap on the contract deployment size—which is set to be bumped up from 24KB through EIP-7907. With the storage cost of 200 gas/byte, a max of 83_886 bytes contract can be deployed after this implementation. 6/7
Lastly, this isn’t backward-compatible. Any tx specifying >16.77M gas will fail. So, complex dApps may need to split operations into multiple transactions. Thoughts? 7/7
Avatar

Abraar Ahmed

@a26nine

a human // eng @monad_xyz // prev @QuickNode @exodus_io