mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
* Companion for #6599 https://github.com/paritytech/substrate/pull/6599 * Update Substrate ref
This commit is contained in:
Generated
+138
-138
File diff suppressed because it is too large
Load Diff
@@ -168,7 +168,10 @@ macro_rules! new_full_start {
|
|||||||
Ok(sc_consensus::LongestChain::new(backend.clone()))
|
Ok(sc_consensus::LongestChain::new(backend.clone()))
|
||||||
})?
|
})?
|
||||||
.with_transaction_pool(|builder| {
|
.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(
|
let pool = sc_transaction_pool::BasicPool::new(
|
||||||
builder.config().transaction_pool.clone(),
|
builder.config().transaction_pool.clone(),
|
||||||
std::sync::Arc::new(pool_api),
|
std::sync::Arc::new(pool_api),
|
||||||
|
|||||||
@@ -163,7 +163,10 @@ macro_rules! new_full_start {
|
|||||||
Ok(sc_consensus::LongestChain::new(backend.clone()))
|
Ok(sc_consensus::LongestChain::new(backend.clone()))
|
||||||
})?
|
})?
|
||||||
.with_transaction_pool(|builder| {
|
.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(
|
let pool = sc_transaction_pool::BasicPool::new(
|
||||||
builder.config().transaction_pool.clone(),
|
builder.config().transaction_pool.clone(),
|
||||||
std::sync::Arc::new(pool_api),
|
std::sync::Arc::new(pool_api),
|
||||||
|
|||||||
Reference in New Issue
Block a user