cumulus-test-service: block import fix (#2430)

This is follow-up for:
https://github.com/paritytech/polkadot-sdk/pull/2001

Block import queue for `test-parachain` (`cumulus-test-service`) shall
use delayed best block feature.

This should fixed broken zombienet tests.
This commit is contained in:
Michal Kucharczyk
2023-11-21 20:03:55 +01:00
committed by GitHub
parent 50811d6b42
commit 2183669d05
+2 -1
View File
@@ -211,7 +211,8 @@ pub fn new_partial(
sc_service::new_full_parts::<Block, RuntimeApi, _>(config, None, executor)?;
let client = Arc::new(client);
let block_import = ParachainBlockImport::new(client.clone(), backend.clone());
let block_import =
ParachainBlockImport::new_with_delayed_best_block(client.clone(), backend.clone());
let registry = config.prometheus_registry();