perf(tree): cache canonical trie updates (#5871)

This commit is contained in:
Roman Krasiuk
2024-01-08 19:39:42 +01:00
committed by GitHub
parent 408d1c7e9e
commit bb7dcfaf12
9 changed files with 127 additions and 52 deletions

View File

@ -192,8 +192,11 @@ where
debug!(target: "consensus::auto", header=?sealed_block_with_senders.hash(), "sending block notification");
let chain =
Arc::new(Chain::new(vec![sealed_block_with_senders], bundle_state));
let chain = Arc::new(Chain::new(
vec![sealed_block_with_senders],
bundle_state,
None,
));
// send block notification
let _ = canon_state_notification