mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(trie): allow passing intermediate nodes to overlay state root (#9839)
This commit is contained in:
@ -288,6 +288,7 @@ 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 {
|
||||
|
||||
@ -152,6 +152,7 @@ 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