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;