-
Notifications
You must be signed in to change notification settings - Fork 784
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
Remove ineffectual block RPC limits post merge #6798
Conversation
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.
Yay to removing more code \o/
I think there are a few more things we can remove. Please see comments.
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.
Looks great, thanks! -300 lines 🔪
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at b1a19a8 |
Issue Addressed
After the merge the max SSZ size of a block is absurdly big. The size is actually bound by other constants, so computing the fork's actual max size is pointless.
We can get rid of more fork boilerplate.
Close #6790
Proposed Changes
Use bellatrix's max value in block's rpc_block_limits_by_fork for post-merge forks