Companion for #6599 (#1371)

* Companion for #6599

https://github.com/paritytech/substrate/pull/6599

* Update Substrate ref
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-07-08 16:15:59 +00:00
1 parent 51a698803c
commit 283ffd4ec4
3 files changed
+146 -140

No files matched your search

+138 -138
View File
File diff suppressed because it is too large. Load diff
+4 -1
View File
@@ -168,7 +168,10 @@ macro_rules! new_full_start {
Ok(sc_consensus::LongestChain::new(backend.clone()))
})?
.with_transaction_pool(|builder| {
let pool_api = sc_transaction_pool::FullChainApi::new(builder.client().clone());
let pool_api = sc_transaction_pool::FullChainApi::new(
builder.client().clone(),
builder.prometheus_registry(),
);
let pool = sc_transaction_pool::BasicPool::new(
builder.config().transaction_pool.clone(),
std::sync::Arc::new(pool_api),
+4 -1
View File
@@ -163,7 +163,10 @@ macro_rules! new_full_start {
Ok(sc_consensus::LongestChain::new(backend.clone()))
})?
.with_transaction_pool(|builder| {
let pool_api = sc_transaction_pool::FullChainApi::new(builder.client().clone());
let pool_api = sc_transaction_pool::FullChainApi::new(
builder.client().clone(),
builder.prometheus_registry(),
);
let pool = sc_transaction_pool::BasicPool::new(
builder.config().transaction_pool.clone(),
std::sync::Arc::new(pool_api),