Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/pbs/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Loading