Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EIP: Increase default block gas target to 20M #8058

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

benaadams
Copy link

@benaadams benaadams commented Dec 24, 2023

Increase default block gas target by 33.3% from 15M to 20M (and block gaslimit from 30M to 40M)

@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core labels Dec 24, 2023
@benaadams benaadams changed the title Add Increase block gas target and gaslimit EIP-8058: Add Increase block gas target and gaslimit Dec 24, 2023
@eth-bot
Copy link
Collaborator

eth-bot commented Dec 24, 2023

File EIPS/eip-7581.md

Requires 1 more reviewers from @axic, @g11tech, @gcolvin, @lightclient, @Pandapip1, @SamWilsn

@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Dec 24, 2023
@eth-bot eth-bot changed the title EIP-8058: Add Increase block gas target and gaslimit Add EIP: Increase block gas target and gaslimit Dec 24, 2023
@benaadams benaadams changed the title Add EIP: Increase block gas target and gaslimit Add EIP-8058: Increase block gas target and gaslimit Dec 24, 2023
@eth-bot eth-bot changed the title Add EIP-8058: Increase block gas target and gaslimit Add EIP: Increase block gas target and gaslimit Dec 24, 2023
@benaadams benaadams changed the title Add EIP: Increase block gas target and gaslimit Add EIP-8058: Increase block gas target and gaslimit Dec 24, 2023
EIPS/eip-8058.md Outdated Show resolved Hide resolved
@eth-bot eth-bot changed the title Add EIP-8058: Increase block gas target and gaslimit Add EIP: Increase block gas target and gaslimit Dec 24, 2023
@benaadams benaadams changed the title Add EIP: Increase block gas target and gaslimit Add EIP-7581: Increase block gas target and gaslimit Dec 24, 2023
Co-authored-by: Andrew B Coathup <28278242+abcoathup@users.noreply.github.com>
@eth-bot eth-bot changed the title Add EIP-7581: Increase block gas target and gaslimit Add EIP: Increase block gas target and gaslimit Dec 24, 2023
@benaadams benaadams changed the title Add EIP: Increase block gas target and gaslimit Add EIP: Increase default block gas target and gaslimit Dec 24, 2023
@benaadams benaadams changed the title Add EIP: Increase default block gas target and gaslimit Add EIP: Increase block gas target and gaslimit Dec 24, 2023
Add 4844 and 7251 as previous requirements
EIPS/eip-7581.md Outdated Show resolved Hide resolved

## Rationale

While increasing block speed could also be an option it may have issues due to assumptions that have crept in or larger consensus times (which [EIP-7251](./eip-7251.md) seeks to address to some degree)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not rationale, could you pls give some analysis of why exactly these numbers are being suggested

Copy link
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raising the gas limit isn't a consensus change, so I'm not sure if this should be a Core EIP. Really more informational for validators to choose.

@eth-bot eth-bot changed the title Add EIP: Increase block gas target and gaslimit Add EIP: Increase default block gas target to 20M Jan 1, 2024
@benaadams
Copy link
Author

Raising the gas limit isn't a consensus change, so I'm not sure if this should be a Core EIP. Really more informational for validators to choose.

While raising the actual gaslimit is in the hands of the validators; this is a proposal to raise the "default" gaslimit in all the execution clients for mainnet. So the mainnet limit that would be used in a vanilla install without the gaslimit being explicitly specified.

I'm going via EIP process to

  1. Achieve consensus with ACD if/that they believe their execution clients can support the increased limit (and come to a more refined value).
  2. Start a more focused discussion about the target block gaslimit where all interested parties (core devs, validators, blockbuilders, users, dapp devs, etc) can give feedback rather than shouting into the twitter algorithm.
  3. Adjust in a more coordinated fashion with the previous considerations.

While its true 51% of the validators could just raise the limit; this hasn't happened in over two years which suggests the network is likely operating conservatively; i.e. it's working, don't change things in case it doesn't.

This EIP if accepted (depending on feedback) will achieve 4 things:

  1. Signal to the validators that the core devs are confident that the software can handle the higher load
  2. Imply a vote to increase the limit to any validators that don't explicitly set the gaslimit on following software upgrade
  3. Indicate to blockbuilders to start building bigger blocks
  4. Be a clear sign to other 3rd parties to update other materials, like docs https://ethereum.org/en/developers/docs/blocks/#block-size where its full specified that 15M/30M is the blocksize
    image

Aside on blocksize vs blockspeed

Blocksize = Throughput

Increasing block gaslimit (gently) shouldn't be too problematics as bandwidth and storage capacities are always increasing at technological rates.

For example looking at the hardware side of things; at that time of EIP-1559 a 2TB SAMSUNG 980 PRO SSD 2TB NVMe Gen 4 cost $429; it now costs $139; and you can now buy a 4TB SAMSUNG 990 PRO SSD for $319; which is double the space for 25% less than the price of a recommended drive at the time of EIP-1559

image

Blockspeed = Latency

Leave block times the same; speed of light isn't increasing, future protocol changes may require extra time and can't slow down later; and dependencies may have crept into the system. Leave it to L2s to have faster block times.

Also on mainnet block builders use that time to speculatively run hundreds of blocks searching for the best construction https://payload.de/data/
image

@benaadams
Copy link
Author

Note: Also think its important to see the effect of 4844 prior to sending this signal

Add 4444 as prerequisite
@g11tech
Copy link
Contributor

g11tech commented Apr 8, 2024

@benaadams all the infographic you provided could be part of the epi, add them as assets and link to them in your content

Copy link

github-actions bot commented May 3, 2024

There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

@github-actions github-actions bot added the w-stale Waiting on activity label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-core w-stale Waiting on activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants