Skip to content
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

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

shekhirin
Copy link
Collaborator

@shekhirin shekhirin commented Jan 16, 2025

Same as we do for extension nodes.

@shekhirin shekhirin added C-bug An unexpected or incorrect behavior A-trie Related to Merkle Patricia Trie implementation labels Jan 16, 2025
@shekhirin shekhirin marked this pull request as ready for review January 16, 2025 15:38
Copy link

codspeed-hq bot commented Jan 16, 2025

CodSpeed Performance Report

Merging #13826 will not alter performance

Comparing alexey/blinded-node-masks (f04d67a) with main (9b68cf8)

Summary

✅ 77 untouched benchmarks

Comment on lines 1232 to 1234
/// 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>,
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

@shekhirin shekhirin requested a review from mattsse January 16, 2025 16:33
@shekhirin shekhirin enabled auto-merge January 16, 2025 16:35
@shekhirin shekhirin added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit 7e972ea Jan 16, 2025
43 checks passed
@shekhirin shekhirin deleted the alexey/blinded-node-masks branch January 16, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants