mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-11 05:07:06 +00:00
Companion for https://github.com/paritytech/substrate/pull/8143
This commit is contained in:
1 parent
0fac590b84
commit
7dfb666ea5
8 files changed
+245
-185
No files matched your search
@@ -29,6 +29,7 @@ use polkadot_primitives::v1::{
|
||||
Block, Hash, Header,
|
||||
};
|
||||
use sc_block_builder::{BlockBuilderApi, BlockBuilderProvider};
|
||||
use sc_telemetry::TelemetryHandle;
|
||||
use sp_core::traits::SpawnNamed;
|
||||
use sp_api::{ApiExt, ProvideRuntimeApi};
|
||||
use sp_blockchain::HeaderBackend;
|
||||
@@ -55,6 +56,7 @@ impl<TxPool, Backend, Client> ProposerFactory<TxPool, Backend, Client> {
|
||||
transaction_pool: Arc<TxPool>,
|
||||
overseer: OverseerHandler,
|
||||
prometheus: Option<&PrometheusRegistry>,
|
||||
telemetry: Option<TelemetryHandle>,
|
||||
) -> Self {
|
||||
ProposerFactory {
|
||||
inner: sc_basic_authorship::ProposerFactory::new(
|
||||
@@ -62,6 +64,7 @@ impl<TxPool, Backend, Client> ProposerFactory<TxPool, Backend, Client> {
|
||||
client,
|
||||
transaction_pool,
|
||||
prometheus,
|
||||
telemetry,
|
||||
),
|
||||
overseer,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user