Update Substrate & Polkadot (#519)

* Update Substrate & Polkadot

* Basti improvements

Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Sergei ShulepovandBastian Köcher authored and GitHub committed 2021-06-28 20:38:28 +00:00
1 parent 075b9beed4
commit 59a23c8d8d
5 files changed
+304 -336

No files matched your search

@@ -208,7 +208,9 @@ where
let mut block_import_params = BlockImportParams::new(BlockOrigin::Own, header);
block_import_params.body = Some(extrinsics);
block_import_params.storage_changes = Some(storage_changes);
block_import_params.state_action = sp_consensus::StateAction::ApplyChanges(
sp_consensus::StorageChanges::Changes(storage_changes)
);
if let Err(err) = self
.block_import
+2
View File
@@ -352,6 +352,8 @@ where
allow_missing_state: false,
justifications: None,
origin: None,
skip_execution: false,
state: None,
});
if let Some(waiting) = self.waiting_for_parent.remove(&block_hash) {