-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Added context to how the block max limit can be changed #13037
Conversation
Added two sentences on how the block gas limit can be changed by consensus
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hey @JacobSharples, guess I wasn't familiar with this exact detail... do you have a reference for this by chance? |
I've been trying to find information on this. But, I haven't seen this in EIP-1559. I know that block size can go up to 30 million gas, but that is the limit and there isn't an in protocol way to increase this. Do you have a source this information so I can better understand this change @JacobSharples |
Apologies for not attaching more information before. I used the EIP-1559 as a reference after seeing some blocks with a gas limit > 30M. I started digging into this after I saw the website PumpTheGas and learned that stakers could change their max limit with a flag. However, to ensure that all nodes can execute all transactions, the change in the gas limit is capped (this is my understanding, there definitely seems to be a lack of info on this topic). The gas limit change is restricted on how or low it change in a single block: For example, block 20170216 has a max limit 30,029,295 (the parent and child block is 30M). Doing the math, the max gas increase from a parent block of 30M is 30,000,000//1024 = 29,295 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool, thanks for this @JacobSharples!
Congrats, your important contribution to this open-source project has earned you a GitPOAP! Be sure to join the Ethereum.org discord if you are interested in contributing further to the project or have any questions for the team. GitPOAP: 2024 Ethereum.org Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
@all-contributors please add @JacobSharples for content |
I've put up a pull request to add @JacobSharples! 🎉 |
Added two sentences on how the block gas limit can be changed by consensus
Description
Related Issue