Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed May 28, 2020
1 parent c966d4b commit a3c306e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/service/test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ fn node_config<G: RuntimeGenesis + 'static, E: ChainSpecExtension + Clone + 'sta
tracing_receiver: Default::default(),
max_runtime_instances: 8,
announce_block: true,
informant_prefix: Default::default(),
}
}

Expand Down
6 changes: 5 additions & 1 deletion utils/browser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ where
wasm_method: Default::default(),
max_runtime_instances: 8,
announce_block: true,
informant_prefix: Default::default(),
};

Ok(config)
Expand All @@ -118,7 +119,10 @@ struct RpcMessage {
pub fn start_client(mut service: impl AbstractService) -> Client {
// Spawn informant
wasm_bindgen_futures::spawn_local(
sc_informant::build(&service, sc_informant::OutputFormat::Plain).map(drop)
sc_informant::build(
&service,
sc_informant::OutputFormat::Plain { prefix: Default::default() },
).map(drop)
);

// We dispatch a background task responsible for processing the service.
Expand Down

0 comments on commit a3c306e

Please sign in to comment.