mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 10:01:02 +00:00
Reduce provisioner work (#6328)
* Store values needed to create inherent data when needed instead of creating them early on * Point deps to substrate branch * Arc the client * Cargo update * Fix main cargo files * Undo cargo file changes * Add overseer dep to inherents * Update deps * Simplify code * Update benchmark * Update node/client/src/benchmarking.rs Co-authored-by: Bastian Köcher <info@kchr.de> * Update node/core/parachains-inherent/src/lib.rs Co-authored-by: Bastian Köcher <info@kchr.de> * Update node/core/parachains-inherent/src/lib.rs Co-authored-by: Bastian Köcher <info@kchr.de> * Revert "Update node/core/parachains-inherent/src/lib.rs" This reverts commit 8b9555dc2451acfabab173d259e00da2728b7aa2. * Revert "Update node/core/parachains-inherent/src/lib.rs" This reverts commit 816c92d0e001e71f677d0acbcf22bdc3f511bc56. * cargo update -p sp-io * fmt Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -1154,11 +1154,12 @@ where
|
||||
let overseer_handle = overseer_handle.clone();
|
||||
|
||||
async move {
|
||||
let parachain = polkadot_node_core_parachains_inherent::ParachainsInherentDataProvider::create(
|
||||
&*client_clone,
|
||||
overseer_handle,
|
||||
parent,
|
||||
).await.map_err(|e| Box::new(e))?;
|
||||
let parachain =
|
||||
polkadot_node_core_parachains_inherent::ParachainsInherentDataProvider::new(
|
||||
client_clone,
|
||||
overseer_handle,
|
||||
parent,
|
||||
);
|
||||
|
||||
let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user