consensus: remove caching functionality from block import pipeline (#13551)

* consensus: remove caching functionality from block import pipeline

* client: update docs on Verifier::verify

* node: fix block production benchmark
This commit is contained in:
André Silva
2023-03-07 11:19:19 +00:00
committed by GitHub
parent d86a32630b
commit 13b0f24abd
29 changed files with 103 additions and 214 deletions
+1 -2
View File
@@ -32,7 +32,6 @@ use sp_runtime::{
DigestItem,
};
use std::{
collections::HashMap,
pin::Pin,
sync::{
atomic::{AtomicUsize, Ordering},
@@ -203,7 +202,7 @@ where
let header = import_block.post_header();
let mut block_import = self.block_import.lock();
match block_import.import_block(import_block, HashMap::default()).await {
match block_import.import_block(import_block).await {
Ok(res) => {
res.handle_justification(
&header.hash(),