Skip to content

Commit 0d7bd6b

Browse files
authored
Small nits found accidentally along the way (#5341)
1 parent ae1b84d commit 0d7bd6b

File tree

5 files changed

+1
-28
lines changed

5 files changed

+1
-28
lines changed

Cargo.lock

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cumulus/primitives/aura/Cargo.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,14 @@ description = "Core primitives for Aura in Cumulus"
1010
workspace = true
1111

1212
[dependencies]
13-
codec = { features = ["derive"], workspace = true }
1413

1514
# Substrate
1615
sp-api = { workspace = true }
1716
sp-consensus-aura = { workspace = true }
18-
sp-runtime = { workspace = true }
19-
20-
# Polkadot
21-
polkadot-core-primitives = { workspace = true }
22-
polkadot-primitives = { workspace = true }
2317

2418
[features]
2519
default = ["std"]
2620
std = [
27-
"codec/std",
28-
"polkadot-core-primitives/std",
29-
"polkadot-primitives/std",
3021
"sp-api/std",
3122
"sp-consensus-aura/std",
32-
"sp-runtime/std",
3323
]

cumulus/primitives/parachain-inherent/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ scale-info = { features = ["derive"], workspace = true }
1717
# Substrate
1818
sp-core = { workspace = true }
1919
sp-inherents = { workspace = true }
20-
sp-runtime = { optional = true, workspace = true }
21-
sp-state-machine = { optional = true, workspace = true }
2220
sp-trie = { workspace = true }
2321

2422
# Cumulus
@@ -33,7 +31,5 @@ std = [
3331
"scale-info/std",
3432
"sp-core/std",
3533
"sp-inherents/std",
36-
"sp-runtime?/std",
37-
"sp-state-machine?/std",
3834
"sp-trie/std",
3935
]

cumulus/primitives/utility/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ log = { workspace = true }
1515

1616
# Substrate
1717
frame-support = { workspace = true }
18-
sp-io = { workspace = true }
1918
sp-runtime = { workspace = true }
2019
pallet-asset-conversion = { workspace = true }
2120

2221
# Polkadot
2322
polkadot-runtime-common = { workspace = true }
24-
polkadot-runtime-parachains = { workspace = true }
2523
xcm = { workspace = true }
2624
xcm-executor = { workspace = true }
2725
xcm-builder = { workspace = true }
@@ -38,8 +36,6 @@ std = [
3836
"log/std",
3937
"pallet-asset-conversion/std",
4038
"polkadot-runtime-common/std",
41-
"polkadot-runtime-parachains/std",
42-
"sp-io/std",
4339
"sp-runtime/std",
4440
"xcm-builder/std",
4541
"xcm-executor/std",
@@ -51,7 +47,6 @@ runtime-benchmarks = [
5147
"frame-support/runtime-benchmarks",
5248
"pallet-asset-conversion/runtime-benchmarks",
5349
"polkadot-runtime-common/runtime-benchmarks",
54-
"polkadot-runtime-parachains/runtime-benchmarks",
5550
"sp-runtime/runtime-benchmarks",
5651
"xcm-builder/runtime-benchmarks",
5752
"xcm-executor/runtime-benchmarks",

polkadot/xcm/xcm-executor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ impl<Config: config::Config> XcmExecutor<Config> {
809809
};
810810
let actual_weight = maybe_actual_weight.unwrap_or(weight);
811811
let surplus = weight.saturating_sub(actual_weight);
812-
// We assume that the `Config::Weigher` will counts the `require_weight_at_most`
812+
// We assume that the `Config::Weigher` will count the `require_weight_at_most`
813813
// for the estimate of how much weight this instruction will take. Now that we know
814814
// that it's less, we credit it.
815815
//

0 commit comments

Comments
 (0)