-
Notifications
You must be signed in to change notification settings - Fork 65
starknet_committer: add index layout subtree #10919
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
Conversation
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 2 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArielElp and @yoavGrs).
crates/starknet_committer/src/db/index_db/types.rs line 52 at r1 (raw file):
) -> DbKeyPrefix { L::get_static_prefix(_key_context) }
Suggestion:
fn get_root_prefix<L: Leaf>(
&self,
key_context: &<L as HasStaticPrefix>::KeyContext,
) -> DbKeyPrefix {
L::get_static_prefix(key_context)
}
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.
@ArielElp made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @nimrod-starkware and @yoavGrs).
crates/starknet_committer/src/db/index_db/types.rs line 52 at r1 (raw file):
) -> DbKeyPrefix { L::get_static_prefix(_key_context) }
Done.
9257e3b to
d90b375
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 1 file and all commit messages, made 1 comment, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @yoavGrs).
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 made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ArielElp).
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 made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ArielElp).
723ff23 to
5308358
Compare
d90b375 to
1e14d20
Compare
dorimedini-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.
@dorimedini-starkware reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArielElp).
crates/starknet_committer/src/db/index_db/types.rs line 41 at r2 (raw file):
fn should_traverse_unmodified_child(_data: Self::NodeData) -> UnmodifiedChildTraversal { UnmodifiedChildTraversal::Traverse }
please add a comment explaining why we always traverse in node-index layout
Code quote:
fn should_traverse_unmodified_child(_data: Self::NodeData) -> UnmodifiedChildTraversal {
UnmodifiedChildTraversal::Traverse
}ac6d15a to
977ed89
Compare
ee08d41 to
450bebb
Compare
977ed89 to
c528f82
Compare
450bebb to
031bb06
Compare
c528f82 to
b09a23f
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.
@ArielElp made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware).
crates/starknet_committer/src/db/index_db/types.rs line 41 at r2 (raw file):
Previously, dorimedini-starkware wrote…
please add a comment explaining why we always traverse in node-index layout
Done.
dorimedini-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.
@dorimedini-starkware reviewed 1 file and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ArielElp).
b09a23f to
f0ae1a9
Compare
031bb06 to
225adf4
Compare
f0ae1a9 to
c0a23c6
Compare
225adf4 to
4a916eb
Compare
4a916eb to
793aaec
Compare
c0a23c6 to
08c16bf
Compare
08c16bf to
ad3c4db
Compare
793aaec to
ede901b
Compare
ede901b to
857730a
Compare
ad3c4db to
ff8df93
Compare
d0c0f43

No description provided.