-
Notifications
You must be signed in to change notification settings - Fork 1
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: changes to api #44
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
=======================================
Coverage 29.75% 29.75%
=======================================
Files 8 8
Lines 121 121
Branches 121 121
=======================================
Hits 36 36
Misses 84 84
Partials 1 1 ☔ View full report in Codecov by Sentry. |
a6b798a
to
53728b1
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.
+reviewer:@dorimedini-starkware
@nimrod-starkware any more changes you need?
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree.rs
line 22 at r2 (raw file):
root_hash: HashOutput, tree_height: TreeHeight, ) -> OriginalSkeletonTreeResult<impl OriginalSkeletonTree<L>>;
Rust requires a box when returning Self, but this way it doesn't
Code quote:
) -> OriginalSkeletonTreeResult<impl OriginalSkeletonTree<L>>;
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: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree.rs
line 18 at r2 (raw file):
pub(crate) trait OriginalSkeletonTree<L: LeafDataTrait> { fn compute_original_skeleton_tree( storage: &mut impl Storage,
must this be mutable...?
Code quote:
storage: &mut impl Storage
crates/committer/src/patricia_merkle_tree/original_skeleton_tree.rs
line 22 at r2 (raw file):
Previously, amosStarkware wrote…
Rust requires a box when returning Self, but this way it doesn't
nice!
53728b1
to
039416d
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: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware)
crates/committer/src/patricia_merkle_tree/original_skeleton_tree.rs
line 18 at r2 (raw file):
Previously, dorimedini-starkware wrote…
must this be mutable...?
It doesn't, thanks
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 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
This change is