Skip to content

starknet_committer: delete dead code#14098

Open
asaf-sw wants to merge 1 commit into
mainfrom
code_slayer/remove_dead_code_in_starknet_committer
Open

starknet_committer: delete dead code#14098
asaf-sw wants to merge 1 commit into
mainfrom
code_slayer/remove_dead_code_in_starknet_committer

Conversation

@asaf-sw
Copy link
Copy Markdown
Contributor

@asaf-sw asaf-sw commented May 19, 2026

Description

Remove the unused STORAGE_LEAF_SIZE constant from crates/starknet_committer/src/db/facts_db/node_serde.rs.

The constant has been annotated with #[allow(dead_code)] since it was introduced and has never had a caller anywhere in the codebase. It is simply SERIALIZE_HASH_BYTES (32) by another name, and nothing references it.


Generated by Claude Code

Remove the unused STORAGE_LEAF_SIZE constant from node_serde.rs.
The constant has been annotated with #[allow(dead_code)] since it was
introduced and has never had a caller anywhere in the codebase.
@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

@asaf-sw asaf-sw requested a review from ArielElp May 20, 2026 07:45
Copy link
Copy Markdown
Contributor

@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.

:lgtm:

@ArielElp reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on asaf-sw).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants