Skip to content

Commit f9e2dc8

Browse files
authored
fix(pbs): increase get header response size (#320)
1 parent a251554 commit f9e2dc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/pbs/src/constants.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub const MAX_SIZE_SUBMIT_BLOCK_RESPONSE: usize = 20 * 1024 * 1024;
1515
/// 20 MiB, enough to process ~45000 registrations in one request
1616
pub const MAX_SIZE_REGISTER_VALIDATOR_REQUEST: usize = 20 * 1024 * 1024;
1717

18-
/// 10 KiB, headers are around 700 bytes + buffer for encoding
19-
pub const MAX_SIZE_GET_HEADER_RESPONSE: usize = 10 * 1024;
18+
/// 5 MiB, to account for max execution requests / commitments
19+
pub const MAX_SIZE_GET_HEADER_RESPONSE: usize = 5 * 1024 * 1024;
2020

2121
pub const MAX_SIZE_DEFAULT: usize = 1024;

0 commit comments

Comments
 (0)