From 706ba9ee7292b8e15a4fa0d4634a65dffa999402 Mon Sep 17 00:00:00 2001 From: Rohit Narurkar Date: Fri, 19 Jul 2024 09:22:51 +0100 Subject: [PATCH] fix: blob bytes <= max allowed (#1373) --- aggregator/src/blob.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aggregator/src/blob.rs b/aggregator/src/blob.rs index e6003f429b..58fdebf28c 100644 --- a/aggregator/src/blob.rs +++ b/aggregator/src/blob.rs @@ -302,7 +302,7 @@ impl BatchData { // We only consider the data from `valid` chunks and ignore the padded chunks. let blob_bytes = self.get_encoded_batch_data_bytes(); assert!( - blob_bytes.len() < N_BLOB_BYTES, + blob_bytes.len() <= N_BLOB_BYTES, "too many bytes in batch data" );