Use max request payloads

This commit is contained in:
Eitan Seri- Levi
2026-03-02 23:39:24 -08:00
parent ff0c05ecf8
commit 0212e84fa8
3 changed files with 15 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ impl PayloadEnvelopesByRootRequest {
) -> Result<Self, String> {
let max_requests_envelopes = fork_context
.spec
.max_request_blocks(fork_context.current_fork_name());
.max_request_payloads(fork_context.current_fork_name());
let beacon_block_roots =
RuntimeVariableList::new(beacon_block_roots, max_requests_envelopes).map_err(|e| {