-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add EIP: Controlled Gas Limit Increase Guidelines
Merged by EIP-Bot.
- Loading branch information
1 parent
ba3b200
commit f024e1f
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
eip: 7790 | ||
title: Controlled Gas Limit Increase Guidelines | ||
description: Suggests specific parameters for the controlled gas limit increase strategy introduced. | ||
author: Giulio Rebuffo (@Giulio2002), Ben Adams (@benaadams) | ||
discussions-to: https://ethereum-magicians.org/t/eip-7790-parameters-to-increase-the-gas-limit/21435 | ||
status: Draft | ||
type: Informational | ||
created: 2024-10-18 | ||
requires: 7783 | ||
--- | ||
|
||
This proposal specifies specific parameters for the controlled gas limit increase strategy outlined in [EIP-7783](./eip-7783.md), including block number to start the increase, initial gas limit, rate of increase per block, and gas limit cap. | ||
|
||
## **Abstract** | ||
|
||
This proposal provides parameter recommendations for implementing the controlled gas limit increase strategy in [EIP-7783](./eip-7783.md). | ||
|
||
## **Motivation** | ||
|
||
The motivation for this proposal is to define practical and balanced parameters for Ethereum's gas limit increase strategy to achieve predictable and stable network scaling. While [EIP-7783](./eip-7783.md) defines the mechanism, there is still a need to establish the values needed for its implementation based on real-world conditions. | ||
|
||
## **Specification** | ||
|
||
### **Proposed Parameters** | ||
|
||
The parameters for the controlled gas limit increase strategy are: | ||
|
||
- **Block Number Start (`blockNumStart`)**: `21792420` | ||
The block number at which the gas limit increase begins. this is february 7, 2024. | ||
|
||
- **Initial Gas Limit (`initialGasLimit`)**: `30_000_000` | ||
The initial gas limit at `blockNumStart` represents the current default gas limit of the Ethereum network, set to 30 million gas. | ||
|
||
- **Rate of Increase (`r`)**: `6` | ||
The gas limit will increase by 6 gas per block. This results in a slow growth rate culminating to reaching the cap in approximately 694 days. | ||
|
||
- **Gas Limit Cap (`gasLimitCap`)**: `60_000_000` | ||
The maximum gas limit is capped at 60 million gas, ensuring that the gas limit will not increase indefinitely and will prevent the network from being overwhelmed by excessively large blocks. | ||
|
||
## **Rationale** | ||
|
||
### **Starting Block Number** | ||
|
||
The chosen block number (`21792420`) provides ample time to discuss and implement the gas limit increase strategy, additionally, it allows to happen with or slightly before the pectra hard fork. | ||
|
||
### **Initial Gas Limit** | ||
|
||
The initial gas limit is set to match the current default gas limit of `30_000_000`. | ||
|
||
### **Rate of Increase** | ||
|
||
A rate of `6` gas per block is chosen to triple the gas limit in approximately 47 months, which is equivalent to almost 2 years. | ||
|
||
### **Gas Limit Cap** | ||
|
||
- The gas limit cap of `60_000_000` provides a safeguard against the gas limit growing beyond what the network can safely handle. | ||
|
||
## **Backwards Compatibility** | ||
|
||
These parameters do not require any protocol changes or hard forks. They are fully backward compatible with the current Ethereum network architecture. | ||
|
||
## **Security Considerations** | ||
|
||
- The gradual nature of the gas limit increase prevents sudden surges in block size that could destabilize the network. | ||
- The cap on the gas limit ensures that blocks do not become excessively large, which could lead to performance degradation or DOS vulnerabilities. | ||
- Validators retain the ability to make adjustments to the gas limit in response to potential network attacks or performance issues. | ||
|
||
## **Copyright** | ||
|
||
Copyright and related rights waived via CC0 1.0 Universal. | ||
|