Update substrate & polkadot (#82)

This commit is contained in:
Cecile Tonglet
2020-04-21 12:17:50 +02:00
committed by GitHub
parent 04f93b6a1c
commit b9793bc2f6
8 changed files with 1640 additions and 1598 deletions
+2 -2
View File
@@ -49,9 +49,9 @@ macro_rules! new_full_start {
crate::service::Executor,
>($config)?
.with_select_chain(|_config, backend| Ok(sc_client::LongestChain::new(backend.clone())))?
.with_transaction_pool(|config, client, _| {
.with_transaction_pool(|config, client, _fetcher, prometheus_registry| {
let pool_api = Arc::new(sc_transaction_pool::FullChainApi::new(client.clone()));
let pool = sc_transaction_pool::BasicPool::new(config, pool_api);
let pool = sc_transaction_pool::BasicPool::new(config, pool_api, prometheus_registry);
Ok(pool)
})?
.with_import_queue(|_config, client, _, _| {