-
Notifications
You must be signed in to change notification settings - Fork 0
chore(skeleton): replace EdgeSibling with UnmodifiedBottom in original #145
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
chore(skeleton): replace EdgeSibling with UnmodifiedBottom in original #145
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #145 +/- ##
==========================================
+ Coverage 66.53% 67.08% +0.54%
==========================================
Files 35 35
Lines 1294 1276 -18
Branches 1294 1276 -18
==========================================
- Hits 861 856 -5
+ Misses 393 380 -13
Partials 40 40 ☔ View full report in Codecov by Sentry. |
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.
Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @TzahiTaub)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree/create_tree.rs
line 149 at r1 (raw file):
); self.nodes.insert( subtree.root_index,
wrong index (need root_index + path)
Code quote:
subtree.root_index
b3f1225
to
936ad59
Compare
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.
Reviewable status: 4 of 6 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware and @nimrod-starkware)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree/create_tree.rs
line 149 at r1 (raw file):
Previously, dorimedini-starkware wrote…
wrong index (need root_index + path)
Oops. OK, actually looked at the surrounding code as well :)
The testing of this was accidentally forgotten, I talked with @nimrod-starkware and added a todo.
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.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree/create_tree.rs
line 149 at r1 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
Oops. OK, actually looked at the surrounding code as well :)
The testing of this was accidentally forgotten, I talked with @nimrod-starkware and added a todo.
wait, why is the root index node inserted now, even if the subtree is not a sibling? why wasn't it inserted before, actually? missing test?
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.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree/create_tree.rs
line 149 at r1 (raw file):
Previously, dorimedini-starkware wrote…
wait, why is the root index node inserted now, even if the subtree is not a sibling? why wasn't it inserted before, actually? missing test?
I'm not sure I understand - it as inserted as an edge when it's not a sibling (the deleted chunk under //Parse bottom
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.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree/create_tree.rs
line 149 at r1 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
I'm not sure I understand - it as inserted as an edge when it's not a sibling (the deleted chunk under
//Parse bottom
*was
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.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)
This change is