Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
conflicts
  • Loading branch information
ferrell-code committed Jul 28, 2021
commit 2e88d4fd88a13a71717b1156f28e8e7b31df410b
3 changes: 2 additions & 1 deletion runtime/parachains/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ impl<T: Config> Pallet<T> {
now: T::BlockNumber,
) {
let mut cores = AvailabilityCores::<T>::get();
let config = <configuration::Module<T>>::config();
let config = <configuration::Pallet<T>>::config();

for (freed_index, freed_reason) in just_freed_cores {
if (freed_index.0 as usize) < cores.len() {
Expand Down Expand Up @@ -720,6 +720,7 @@ impl<T: Config> Pallet<T> {

// Free all scheduled cores and return parathread claims to queue, with retries incremented.
pub(crate) fn clear() {

let config = <configuration::Module<T>>::config();
ParathreadQueue::<T>::mutate(|queue| {
for core_assignment in Scheduled::<T>::take() {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.