-
Notifications
You must be signed in to change notification settings - Fork 65
starknet_committer: reorganize facts db files #10677
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
base: main-v0.14.1-committer
Are you sure you want to change the base?
Conversation
26d94e0 to
7e61e1e
Compare
nimrod-starkware
left a comment
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.
@nimrod-starkware reviewed 7 of 14 files at r1, 7 of 7 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @yoavGrs)
7e61e1e to
50c513c
Compare
yoavGrs
left a comment
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.
@yoavGrs reviewed 7 of 14 files at r1, 4 of 7 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @ArielElp)
crates/starknet_committer/src/db/facts_db/mod.rs line 2 at r2 (raw file):
pub mod create_facts_tree; pub mod db;
I don't like the double db in the hierarchy of db.facts_db.db.
Rename to storage? WDYT?
If it breaks the entire stack, add a TODO, please.
Code quote:
pub mod db;crates/starknet_committer/src/db/facts_db/traversal_test.rs line 35 at r2 (raw file):
use starknet_types_core::hash::Pedersen; use crate::db::facts_db::traversal::fetch_patricia_paths_inner;
Why do you need it?
Code quote:
use crate::db::facts_db::traversal::fetch_patricia_paths_inner;50c513c to
47514f7
Compare
ArielElp
left a comment
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: 11 of 14 files reviewed, 2 unresolved discussions (waiting on @nimrod-starkware and @yoavGrs)
crates/starknet_committer/src/db/facts_db/mod.rs line 2 at r2 (raw file):
Previously, yoavGrs wrote…
I don't like the double
dbin the hierarchy ofdb.facts_db.db.
Rename tostorage? WDYT?
If it breaks the entire stack, add a TODO, please.
Added a TODO. I prefer it to be in mod.rs directly rather than storage.
crates/starknet_committer/src/db/facts_db/traversal_test.rs line 35 at r2 (raw file):
Previously, yoavGrs wrote…
Why do you need it?
It's needed in the file, used to be:
use super::fetch_patricia_paths_inner
that I forgot to delete here, see now.
47514f7 to
e82f3e6
Compare
e82f3e6 to
0b4dfa3
Compare
yoavGrs
left a comment
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.
@yoavGrs reviewed 3 of 3 files at r3, 5 of 5 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ArielElp)

No description provided.