chore(trie): move trie updates to reth-trie-common (#12863)

This commit is contained in:
Roman Krasiuk
2024-11-26 13:09:12 +01:00
committed by GitHub
parent 26fc701814
commit 2dc92880ba
17 changed files with 113 additions and 114 deletions

View File

@ -193,11 +193,8 @@ where
let root = hash_builder.root();
trie_updates.finalize(
account_node_iter.walker,
hash_builder,
prefix_sets.destroyed_accounts,
);
let removed_keys = account_node_iter.walker.take_removed_keys();
trie_updates.finalize(hash_builder, removed_keys, prefix_sets.destroyed_accounts);
let stats = tracker.finish();