From 9eb9d4141857c6a42f2564fdf617fb786bfce3de Mon Sep 17 00:00:00 2001 From: Sergei Shulepov Date: Tue, 4 Aug 2020 10:25:48 +0200 Subject: [PATCH] Fix a typo parathreads -> parachains (#1529) --- polkadot/roadmap/implementers-guide/src/runtime/scheduler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/roadmap/implementers-guide/src/runtime/scheduler.md b/polkadot/roadmap/implementers-guide/src/runtime/scheduler.md index 0dcd09d14d..96641484e4 100644 --- a/polkadot/roadmap/implementers-guide/src/runtime/scheduler.md +++ b/polkadot/roadmap/implementers-guide/src/runtime/scheduler.md @@ -171,7 +171,7 @@ Actions: 1. Set `configuration = Configuration::configuration()` (see [`HostConfiguration`](../types/runtime.md#host-configuration)) 1. Resize `AvailabilityCores` to have length `Paras::parachains().len() + configuration.parathread_cores with all`None` entries. 1. Compute new validator groups by shuffling using a secure randomness beacon - - We need a total of `N = Paras::parathreads().len() + configuration.parathread_cores` validator groups. + - We need a total of `N = Paras::parachains().len() + configuration.parathread_cores` validator groups. - The total number of validators `V` in the `SessionChangeNotification`'s `validators` may not be evenly divided by `V`. - First, we obtain "shuffled validators" `SV` by shuffling the validators using the `SessionChangeNotification`'s random seed. - The groups are selected by partitioning `SV`. The first V % N groups will have (V / N) + 1 members, while the remaining groups will have (V / N) members each.