Migrate provisioner subsystem (#5568)

This commit is contained in:
Chris Sosnin
2022-05-23 22:43:58 +03:00
committed by GitHub
parent 1ccd68dd15
commit d0453cf24d
4 changed files with 225 additions and 183 deletions
+3 -1
View File
@@ -197,6 +197,7 @@ mod select_availability_bitfields {
mod common {
use super::super::*;
use futures::channel::mpsc;
use polkadot_node_subsystem::messages::AllMessages;
use polkadot_node_subsystem_test_helpers::TestSubsystemSender;
@@ -225,6 +226,7 @@ mod select_candidates {
scheduled_core,
};
use ::test_helpers::{dummy_candidate_descriptor, dummy_hash};
use futures::channel::mpsc;
use polkadot_node_subsystem::messages::{
AllMessages, RuntimeApiMessage,
RuntimeApiRequest::{
@@ -497,8 +499,8 @@ mod select_candidates {
}
mod select_disputes {
use super::{super::*, common::test_harness};
use futures::channel::mpsc;
use polkadot_node_subsystem::{
messages::{AllMessages, DisputeCoordinatorMessage, RuntimeApiMessage, RuntimeApiRequest},
RuntimeApiError,