fix(root): do not re-calculate targets for sparse trie update (#14074)

This commit is contained in:
Alexey Shekhirin
2025-01-29 21:19:34 +00:00
committed by GitHub
parent 665ca2e89b
commit 2216c8a8ba

View File

@ -772,9 +772,6 @@ where
"Updating sparse trie"
);
// TODO: alexey to remind me why we are doing this
update.targets = get_proof_targets(&update.state, &update.targets);
let elapsed = update_sparse_trie(&mut trie, update).map_err(|e| {
ParallelStateRootError::Other(format!("could not calculate state root: {e:?}"))
})?;