Skip to content

Commit

Permalink
block_size is allowed to be equal to max_block_size
Browse files Browse the repository at this point in the history
Closes #1464
  • Loading branch information
tbro committed Jun 11, 2024
1 parent 5e1c7e2 commit a74b80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sequencer/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ pub fn validate_proposal(

// validate block size and fee
let block_size = VidSchemeType::get_payload_byte_len(vid_common) as u64;
if block_size >= *expected_chain_config.max_block_size {
if block_size > *expected_chain_config.max_block_size {
return Err(ProposalValidationError::MaxBlockSizeExceeded {
max_block_size: expected_chain_config.max_block_size,
block_size: block_size.into(),
Expand Down

0 comments on commit a74b80f

Please sign in to comment.