Small cosmetic nits (#1679)

This commit is contained in:
Branislav Kontur
2022-09-23 14:53:31 +02:00
committed by GitHub
parent 7f014c78d1
commit 86bdaec2ea
9 changed files with 10 additions and 8 deletions
-1
View File
@@ -1989,7 +1989,6 @@ dependencies = [
"async-trait", "async-trait",
"cumulus-primitives-core", "cumulus-primitives-core",
"cumulus-relay-chain-interface", "cumulus-relay-chain-interface",
"cumulus-test-service",
"futures", "futures",
"futures-timer", "futures-timer",
"polkadot-cli", "polkadot-cli",
+1 -1
View File
@@ -24,7 +24,7 @@ members = [
"primitives/parachain-inherent", "primitives/parachain-inherent",
"primitives/timestamp", "primitives/timestamp",
"primitives/utility", "primitives/utility",
"polkadot-parachain/", "polkadot-parachain",
"parachains/common", "parachains/common",
"parachains/pallets/parachain-info", "parachains/pallets/parachain-info",
"parachains/pallets/ping", "parachains/pallets/ping",
@@ -42,6 +42,3 @@ sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master
# Polkadot # Polkadot
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" } polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" }
# Cumulus
cumulus-test-service = { path = "../../test/service" }
+1 -2
View File
@@ -125,9 +125,8 @@ where
task_manager task_manager
.spawn_essential_handle() .spawn_essential_handle()
.spawn("cumulus-pov-recovery", None, pov_recovery.run()); .spawn("cumulus-pov-recovery", None, pov_recovery.run());
cumulus_client_collator::start_collator(cumulus_client_collator::StartCollatorParams { cumulus_client_collator::start_collator(cumulus_client_collator::StartCollatorParams {
runtime_api: client.clone(), runtime_api: client,
block_status, block_status,
announce_block, announce_block,
overseer_handle, overseer_handle,
@@ -284,7 +284,8 @@ fn check_inherents_are_unsigned_and_before_all_other_extrinsics() {
.expect("Runs the test"); .expect("Runs the test");
assert!(output.status.success()); assert!(output.status.success());
assert!(String::from_utf8(output.stderr).unwrap() assert!(String::from_utf8(output.stderr)
.unwrap()
.contains("Could not find `set_validation_data` inherent")); .contains("Could not find `set_validation_data` inherent"));
} }
} }
+1
View File
@@ -30,5 +30,6 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"xcm/std",
] ]
try-runtime = ["frame-support/try-runtime"] try-runtime = ["frame-support/try-runtime"]
+2
View File
@@ -63,5 +63,7 @@ std = [
"sp-std/std", "sp-std/std",
"pallet-collator-selection/std", "pallet-collator-selection/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"xcm/std",
"xcm-executor/std",
"xcm-builder/std" "xcm-builder/std"
] ]
@@ -30,4 +30,5 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"xcm/std",
] ]
+2
View File
@@ -38,5 +38,7 @@ std = [
"polkadot-parachain/std", "polkadot-parachain/std",
"polkadot-primitives/std", "polkadot-primitives/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"xcm/std",
"xcm-builder/std",
"xcm-executor/std", "xcm-executor/std",
] ]