feat(engine): use Hash Builder as a fallback to the Sparse Trie on newPayload (#14387)

This commit is contained in:
Federico Gimenez
2025-02-11 13:25:48 +01:00
committed by GitHub
parent 09a6aab9f7
commit c4cb3f048d

View File

@ -2899,9 +2899,12 @@ where
compare_trie_updates(
in_memory_trie_cursor,
task_trie_updates.clone(),
regular_updates,
regular_updates.clone(),
)
.map_err(ProviderError::from)?;
if task_state_root != sealed_block.header().state_root() {
return Ok((regular_root, regular_updates, time_from_last_update));
}
} else {
debug!(target: "engine::tree", "Regular state root does not match block state root");
}