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

Move import queue out of sc-network #12764

Merged
merged 9 commits into from
Dec 9, 2022
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/master' into import-queue-refact…
…oring
  • Loading branch information
altonen committed Dec 5, 2022
commit 84eed3d99059f437db6d11180d27252968a5bf26
4 changes: 2 additions & 2 deletions client/network/src/service/tests/chain_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async fn request_justification() {
let mut chain_sync = MockChainSync::<substrate_test_runtime_client::runtime::Block>::new();

set_default_expecations_no_peers(&mut chain_sync);
let mut network = TestNetworkBuilder::new()
let mut network = TestNetworkBuilder::new(Handle::current())
.with_chain_sync((Box::new(chain_sync), chain_sync_service))
.build();

Expand Down Expand Up @@ -316,7 +316,7 @@ async fn invalid_justification_imported() {
let justification_info = Arc::new(RwLock::new(None));
let listen_addr = config::build_multiaddr![Memory(rand::random::<u64>())];

let (service1, mut event_stream1) = TestNetworkBuilder::new()
let (service1, mut event_stream1) = TestNetworkBuilder::new(Handle::current())
.with_import_queue(Box::new(DummyImportQueue(
justification_info.clone(),
DummyImportQueueHandle {},
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.