Skip to content

Commit fe589a5

Browse files
committed
Reduce runtime test dependencies by half
1 parent 9646a85 commit fe589a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

runtime/battery-station/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ polkadot-runtime-parachains = { workspace = true, optional = true }
102102
rococo-runtime = { workspace = true, optional = true }
103103
xcm = { workspace = true, optional = true }
104104
xcm-builder = { workspace = true, optional = true }
105+
xcm-emulator = { workspace = true, optional = true }
105106
xcm-executor = { workspace = true, optional = true }
106107

107108
# Zeitgeist
@@ -123,7 +124,6 @@ zrml-swaps-runtime-api = { workspace = true }
123124
[dev-dependencies]
124125
sp-io = { workspace = true, features = ["default"] }
125126
test-case = { workspace = true }
126-
xcm-emulator = { workspace = true }
127127

128128
[features]
129129
default = ["std"]
@@ -160,6 +160,7 @@ parachain = [
160160
"polkadot-runtime-parachains",
161161
"rococo-runtime",
162162
"xcm-builder",
163+
"xcm-emulator",
163164
"xcm-executor",
164165
"xcm",
165166

runtime/zeitgeist/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ polkadot-runtime = { workspace = true, optional = true }
100100
polkadot-runtime-parachains = { workspace = true, optional = true }
101101
xcm = { workspace = true, optional = true }
102102
xcm-builder = { workspace = true, optional = true }
103+
xcm-emulator = { workspace = true, optional = true }
103104
xcm-executor = { workspace = true, optional = true }
104105

105106
# Zeitgeist
@@ -122,7 +123,6 @@ zrml-swaps-runtime-api = { workspace = true }
122123
env_logger = "0.9"
123124
sp-io = { workspace = true, features = ["default"] }
124125
test-case = { workspace = true }
125-
xcm-emulator = { workspace = true }
126126

127127
[features]
128128
default = ["std"]
@@ -159,6 +159,7 @@ parachain = [
159159
"orml-xtokens",
160160
"pallet-xcm",
161161
"xcm-builder",
162+
"xcm-emulator",
162163
"xcm-executor",
163164
"xcm",
164165

0 commit comments

Comments
 (0)