-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(trie): use correct store_in_db_trie
value for sparse extension nodes
#13826
Conversation
CodSpeed Performance ReportMerging #13826 will not alter performanceComparing Summary
|
crates/trie/sparse/src/trie.rs
Outdated
/// Pre-computed flag indicating whether the trie node should be stored in the database. | ||
/// Can be reused unless this trie path has been updated. | ||
store_in_db_trie: Option<bool>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unclear here how None differs from false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a comment to all fields
Same as we do for extension nodes.