starknet_committer: create storage tries based on config#12441
Open
nimrod-starkware wants to merge 1 commit intonimrod/parallel-storage-tries/add_field_to_reader_configfrom
Conversation
Contributor
Author
This was referenced Feb 10, 2026
Open
ea60323 to
0e6beb1
Compare
This was referenced Feb 10, 2026
0e6beb1 to
1e445a0
Compare
15840f2 to
b410637
Compare
1e445a0 to
a662b3c
Compare
a662b3c to
9c549d1
Compare
b410637 to
54d46e7
Compare
ArielElp
approved these changes
Feb 19, 2026
Contributor
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp reviewed 1 file and all commit messages, and made 2 comments.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on nimrod-starkware).
crates/starknet_committer/src/db/trie_traversal.rs line 341 at r1 (raw file):
} /// Creates the original skeleton trees of the storage tries of modified contracts.
modified storage tries.
Code quote:
the storage tries of modified contractscrates/starknet_committer/src/db/trie_traversal.rs line 355 at r1 (raw file):
HasStaticPrefix<KeyContext = ContractAddress>, { match config.build_storage_tries_concurrently() {
Use if/else to branch on a bool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Medium Risk
Introduces optional concurrency into trie-building, which can change runtime behavior and stress shared
Storageimplementations; correctness should remain the same but races/resource contention are possible depending on storage backends.Overview
create_storage_triesnow switches between sequential and concurrent construction based onReaderConfig::build_storage_tries_concurrently()instead of always running sequentially.This wires in the existing
create_storage_tries_concurrentlyimplementation (and removes its dead-code allowance) and adds/updates docstrings to reflect the new config-driven behavior.Written by Cursor Bugbot for commit 9c549d1. This will update automatically on new commits. Configure here.