-
Notifications
You must be signed in to change notification settings - Fork 28
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
Remove unused code from starkware_utils #440
base: main
Are you sure you want to change the base?
Conversation
@@ -174,20 +174,7 @@ where | |||
ffc: &'a mut FactFetchingContext<S, H>, | |||
indices: &'a [TreeIndex], | |||
facts: &'a mut Option<BinaryFactDict>, | |||
) -> impl std::future::Future<Output = Result<HashMap<TreeIndex, LF>, TreeError>> + Send { |
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.
Any reason why you have removed this default implementation?
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.
No particular reason except it's never used. This trait is only implemented in virtual_patricia_node.rs
, and it has it's own implementation of _get_leaves.
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.
Left a single comment but most seems good.
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.
This looks good 💪
Issue Number: N/A
Type
Description
Removed several unused methods and unreachable code from
starkware_utils
.Breaking changes?