From c7e43d6fff83396a545db9a99baa72eb70fc2900 Mon Sep 17 00:00:00 2001 From: Koute Date: Mon, 21 Nov 2022 20:40:47 +0900 Subject: [PATCH] Extend lower bound of `manage_lease_period_start` from `runtime_common::slots` (#6318) --- runtime/common/src/slots/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 673d9f86e1bd..21391dc3d774 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -1039,8 +1039,8 @@ mod benchmarking { // Worst case scenario, T parathreads onboard, and C parachains offboard. manage_lease_period_start { // Assume reasonable maximum of 100 paras at any time - let c in 1 .. 100; - let t in 1 .. 100; + let c in 0 .. 100; + let t in 0 .. 100; let period_begin = 1u32.into(); let period_count = 4u32.into();