From 12e37c02fd53d76d36887227fb7427d739b00102 Mon Sep 17 00:00:00 2001 From: Leouarz Date: Thu, 21 Mar 2024 15:59:47 +0100 Subject: [PATCH] add a dispatch ratio for da submissions --- core/src/constants.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/constants.rs b/core/src/constants.rs index 68ed90c..4f41d84 100644 --- a/core/src/constants.rs +++ b/core/src/constants.rs @@ -6,6 +6,10 @@ use static_assertions::const_assert; /// by Operational extrinsics. pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(85); +/// We allow `Normal` data submissions to fill up the matrix up to 100%, there is no +/// Operational or mandatory extrinsic that goes in the matrix. +pub const DA_DISPATCH_RATIO: Perbill = Perbill::from_percent(100); + const_assert!(BLOCK_CHUNK_SIZE.get() > 0); pub const BLOCK_CHUNK_SIZE: NonZeroU32 = unsafe { NonZeroU32::new_unchecked(32) };