Constants

This commit is contained in:
Eitan Seri-Levi
2026-04-30 13:49:26 +02:00
parent 12d31dbfbf
commit 7918dc2a0d
3 changed files with 13 additions and 6 deletions

View File

@@ -274,7 +274,7 @@ impl<S: ValidatorStore + 'static, T: SlotClock + 'static> InclusionListService<S
for transaction in inclusion_list_transactions.into_iter() {
total_bytes += transaction.len();
if total_bytes <= 8192 {
if total_bytes <= self.chain_spec.max_bytes_per_inclusion_list as usize {
trimmed_il.push(transaction);
}
}