You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SparseTrie::update_rlp_node_level is meant as a public interface to perform a minimal amount of work as requested by the caller. It is meant to perform partial node hash computations in case the final output state becomes available in chunks.
Fix inconsistent behavior introduced by min_len checks. Perhaps, migrate this method to accept desired depth instead.
The text was updated successfully, but these errors were encountered:
rkrasiuk
added
C-debt
Refactor of code section that is hard to understand or maintain
A-trie
Related to Merkle Patricia Trie implementation
labels
Oct 16, 2024
Description
SparseTrie::update_rlp_node_level
is meant as a public interface to perform a minimal amount of work as requested by the caller. It is meant to perform partial node hash computations in case the final output state becomes available in chunks.Fix inconsistent behavior introduced by
min_len
checks. Perhaps, migrate this method to accept desireddepth
instead.reth/crates/trie/sparse/src/trie.rs
Lines 277 to 316 in 6b2ec42
The text was updated successfully, but these errors were encountered: