Skip to content

Conversation

@ArielElp
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

ArielElp commented Dec 21, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

@nimrod-starkware nimrod-starkware left a 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)
    }

Copy link
Contributor Author

@ArielElp ArielElp left a 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.

@ArielElp ArielElp force-pushed the ariel/index_layout_subtree branch from 9257e3b to d90b375 Compare December 21, 2025 16:52
Copy link
Contributor

@nimrod-starkware nimrod-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@nimrod-starkware reviewed 1 file and all commit messages, made 1 comment, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @yoavGrs).

Copy link
Contributor

@yoavGrs yoavGrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@yoavGrs made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArielElp).

Copy link
Contributor

@yoavGrs yoavGrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@yoavGrs made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArielElp).

@ArielElp ArielElp force-pushed the ariel/generic_hash_leaves branch from 723ff23 to 5308358 Compare December 23, 2025 11:27
@ArielElp ArielElp force-pushed the ariel/index_layout_subtree branch from d90b375 to 1e14d20 Compare December 23, 2025 11:27
Copy link
Collaborator

@dorimedini-starkware dorimedini-starkware left a 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
    }

@ArielElp ArielElp force-pushed the ariel/index_layout_subtree branch from ac6d15a to 977ed89 Compare December 24, 2025 13:33
@ArielElp ArielElp force-pushed the ariel/generic_hash_leaves branch from ee08d41 to 450bebb Compare December 24, 2025 13:33
@ArielElp ArielElp force-pushed the ariel/index_layout_subtree branch from 977ed89 to c528f82 Compare December 24, 2025 22:05
@ArielElp ArielElp force-pushed the ariel/generic_hash_leaves branch from 450bebb to 031bb06 Compare December 24, 2025 22:05
@ArielElp ArielElp force-pushed the ariel/index_layout_subtree branch from c528f82 to b09a23f Compare December 24, 2025 22:20
Copy link
Contributor Author

@ArielElp ArielElp left a 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.

Copy link
Collaborator

@dorimedini-starkware dorimedini-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ArielElp).

@ArielElp ArielElp changed the base branch from ariel/generic_hash_leaves to graphite-base/10919 December 28, 2025 09:12
@ArielElp ArielElp force-pushed the graphite-base/10919 branch from ede901b to 857730a Compare December 28, 2025 09:12
@ArielElp ArielElp force-pushed the ariel/index_layout_subtree branch from ad3c4db to ff8df93 Compare December 28, 2025 09:12
@ArielElp ArielElp changed the base branch from graphite-base/10919 to main-v0.14.1-committer December 28, 2025 09:12
@ArielElp ArielElp added this pull request to the merge queue Dec 29, 2025
Merged via the queue into main-v0.14.1-committer with commit d0c0f43 Dec 29, 2025
53 of 107 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants