Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Extend lower bound of manage_lease_period_start from runtime_common::slots #6318

Merged
merged 1 commit into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Extend lower bound of manage_lease_period_start from `runtime_commo…
…n::slots`
  • Loading branch information
koute committed Nov 21, 2022
commit e0fe173a26611c360e06f0488bfbd82f73d80b4a
4 changes: 2 additions & 2 deletions runtime/common/src/slots/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down