mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 13:21:10 +00:00
Remove Useless Inherent Data Provider (#5750)
* Remove Useless Inherent Data Provider * Remove Unused Deps
This commit is contained in:
@@ -15,7 +15,6 @@ sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "
|
||||
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-consensus-uncles = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
@@ -1125,11 +1125,6 @@ where
|
||||
parent,
|
||||
).await.map_err(|e| Box::new(e))?;
|
||||
|
||||
let uncles = sc_consensus_uncles::create_uncles_inherent_data_provider(
|
||||
&*client_clone,
|
||||
parent,
|
||||
)?;
|
||||
|
||||
let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
|
||||
|
||||
let slot =
|
||||
@@ -1138,7 +1133,7 @@ where
|
||||
slot_duration,
|
||||
);
|
||||
|
||||
Ok((timestamp, slot, uncles, parachain))
|
||||
Ok((timestamp, slot, parachain))
|
||||
}
|
||||
},
|
||||
force_authoring,
|
||||
|
||||
Reference in New Issue
Block a user