Skip to content

Commit 856c398

Browse files
committed
Make clippy happy
1 parent 1057adc commit 856c398

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

cumulus/node/src/service.rs

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ where
141141
Ok(params)
142142
}
143143

144+
type CirrusExecutor<PBlock, PClient, RuntimeApi, ExecutorDispatch> = Executor<
145+
Block,
146+
PBlock,
147+
FullClient<RuntimeApi, ExecutorDispatch>,
148+
PClient,
149+
FullPool<RuntimeApi, ExecutorDispatch>,
150+
FullBackend,
151+
NativeElseWasmExecutor<ExecutorDispatch>,
152+
>;
153+
144154
/// Full node along with some other components.
145155
pub struct NewFull<C, CodeExecutor, PBlock, PClient, RuntimeApi, ExecutorDispatch>
146156
where
@@ -175,15 +185,7 @@ where
175185
/// Network starter.
176186
pub network_starter: NetworkStarter,
177187
/// Executor.
178-
pub executor: Executor<
179-
Block,
180-
PBlock,
181-
FullClient<RuntimeApi, ExecutorDispatch>,
182-
PClient,
183-
FullPool<RuntimeApi, ExecutorDispatch>,
184-
FullBackend,
185-
NativeElseWasmExecutor<ExecutorDispatch>,
186-
>,
188+
pub executor: CirrusExecutor<PBlock, PClient, RuntimeApi, ExecutorDispatch>,
187189
}
188190

189191
/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.

0 commit comments

Comments
 (0)