mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Companion PR for https://github.com/paritytech/substrate/pull/6400 (#1287)
* Initial commit
Forked at: 00ac43c26c
Parent branch: origin/master
* Substrate companion PR
impl Debug for sc_service::Configuration
Related to: https://github.com/paritytech/substrate/pull/6400
* Bump
Co-authored-by: Gav Wood <gavin@parity.io>
This commit is contained in:
Generated
+136
-136
File diff suppressed because it is too large
Load Diff
@@ -501,14 +501,14 @@ mod tests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure that the future returned by `start_collator` implementes `Send`.
|
// Make sure that the future returned by `start_collator` implements `Send`.
|
||||||
#[test]
|
#[test]
|
||||||
fn start_collator_is_send() {
|
fn start_collator_is_send() {
|
||||||
fn check_send<T: Send>(_: T) {}
|
fn check_send<T: Send>(_: T) {}
|
||||||
|
|
||||||
let cli = Cli::from_iter(&["-dev"]);
|
let cli = Cli::from_iter(&["-dev"]);
|
||||||
let task_executor = Arc::new(|_, _| unimplemented!());
|
let task_executor = |_, _| unimplemented!();
|
||||||
let config = cli.create_configuration(&cli.run.base, task_executor).unwrap();
|
let config = cli.create_configuration(&cli.run.base, task_executor.into()).unwrap();
|
||||||
|
|
||||||
check_send(start_collator(
|
check_send(start_collator(
|
||||||
BuildDummyParachainContext,
|
BuildDummyParachainContext,
|
||||||
|
|||||||
Reference in New Issue
Block a user