Skip to content

Add new MAX_DEPOSIT_REQUESTS_PER_PAYLOAD_GLOAS preset#5224

Closed
jtraglia wants to merge 2 commits into
ethereum:masterfrom
jtraglia:unbounded-deposit-request-limit
Closed

Add new MAX_DEPOSIT_REQUESTS_PER_PAYLOAD_GLOAS preset#5224
jtraglia wants to merge 2 commits into
ethereum:masterfrom
jtraglia:unbounded-deposit-request-limit

Conversation

@jtraglia

@jtraglia jtraglia commented May 8, 2026

Copy link
Copy Markdown
Member

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_PAYLOAD from 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 a ProgressiveList without any limit. I view this change as a temporary bandaid until we're ready to merge #4630.

@github-actions github-actions Bot added testing CI, actions, tests, testing infra gloas labels May 8, 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 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe add the comment that effectively it means constraining by the gas limit?

@jtraglia

Copy link
Copy Markdown
Member Author

At ACDT-79, we agreed to wait for the proper fix via EIP-7688.

@jtraglia jtraglia closed this May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gloas testing CI, actions, tests, testing infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants