From 71769742d637611fc3942842ca313949389dd571 Mon Sep 17 00:00:00 2001 From: eltitanb Date: Wed, 4 Jun 2025 16:29:46 +0100 Subject: [PATCH] bump get header response size --- crates/pbs/src/constants.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/pbs/src/constants.rs b/crates/pbs/src/constants.rs index 30914803..0b0faeb3 100644 --- a/crates/pbs/src/constants.rs +++ b/crates/pbs/src/constants.rs @@ -15,7 +15,7 @@ pub const MAX_SIZE_SUBMIT_BLOCK_RESPONSE: usize = 20 * 1024 * 1024; /// 20 MiB, enough to process ~45000 registrations in one request pub const MAX_SIZE_REGISTER_VALIDATOR_REQUEST: usize = 20 * 1024 * 1024; -/// 10 KiB, headers are around 700 bytes + buffer for encoding -pub const MAX_SIZE_GET_HEADER_RESPONSE: usize = 10 * 1024; +/// 5 MiB, to account for max execution requests / commitments +pub const MAX_SIZE_GET_HEADER_RESPONSE: usize = 5 * 1024 * 1024; pub const MAX_SIZE_DEFAULT: usize = 1024;