mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf(tree): re-use intermediate nodes (#9836)
This commit is contained in:
@ -288,7 +288,6 @@ impl Command {
|
||||
let (state_root, trie_updates) = StateRoot::overlay_root_with_updates(
|
||||
provider_factory.provider()?.tx_ref(),
|
||||
hashed_post_state.clone(),
|
||||
Default::default(),
|
||||
)?;
|
||||
|
||||
if state_root != block_with_senders.state_root {
|
||||
|
||||
@ -154,7 +154,6 @@ impl Command {
|
||||
let (in_memory_state_root, in_memory_updates) = StateRoot::overlay_root_with_updates(
|
||||
provider.tx_ref(),
|
||||
execution_outcome.hash_state_slow(),
|
||||
Default::default(),
|
||||
)?;
|
||||
|
||||
if in_memory_state_root == block.state_root {
|
||||
|
||||
Reference in New Issue
Block a user