diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 02e19f2..572c2d8 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-common" -version = "0.4.8" +version = "0.4.9" authors.workspace = true edition.workspace = true homepage.workspace = true diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 6982637..1ce8258 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -30,14 +30,14 @@ pub use sp_runtime::BuildStorage; pub use impls::ToAuthor; -/// We assume that an on-initialize consumes 10% of the weight on average, hence +/// We assume that an on-initialize consumes 15% of the weight on average, hence /// a single extrinsic will not be allowed to consume more than -/// `AvailableBlockRatio - 10%`. -pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10); +/// `AvailableBlockRatio - 15%`. +pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(15); -/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can +/// We allow `Normal` extrinsics to fill up the block up to 70%, the rest can /// be used by `Operational` extrinsics. -pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); +pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(70); /// We allow for 4 seconds of compute with a 12 seconds average block time. /// The storage proof size is not limited so far.