Skip to content

Commit 7176974

Browse files
committed
bump get header response size
1 parent a251554 commit 7176974

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)