Add new MAX_DEPOSIT_REQUESTS_PER_PAYLOAD_GLOAS preset#5224
Closed
jtraglia wants to merge 2 commits into
Closed
Conversation
mkalinin
reviewed
May 9, 2026
| | `MAX_DEPOSIT_REQUESTS_PER_PAYLOAD_GLOAS` | `uint64(2**41)` (= 2,199,023,255,552) | Maximum number of execution-layer deposit requests in each payload | | ||
| | Name | Value | Description | | ||
| | ---------------------------------------- | ----------------------------- | ------------------------------------------------------------------ | | ||
| | `MAX_DEPOSIT_REQUESTS_PER_PAYLOAD_GLOAS` | `uint64(2**20)` (= 1,048,576) | Maximum number of execution-layer deposit requests in each payload | |
Contributor
There was a problem hiding this comment.
Maybe add the comment that effectively it means constraining by the gas limit?
4 tasks
Member
Author
|
At ACDT-79, we agreed to wait for the proper fix via EIP-7688. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We intend to raise the gas limit to 200m. If the EL provides a payload to the CL with more than 8,192 deposits, the CL will be unable to deserialize the payload and therefore unable to propose. This could potentially stall the network. This PR raises
MAX_DEPOSIT_REQUESTS_PER_PAYLOADfrom 8,192 to 1,048,576. With this change, the number of deposits per payload will be effectively limited by the gas limit. This number would support a gas limit of ~25 gigagas. Alternatively, we could merge #4630 which also fixes this issue by using aProgressiveListwithout any limit. I view this change as a temporary bandaid until we're ready to merge #4630.