starknet_patricia,starknet_committer: dont pass storage mut when not needed#12165
starknet_patricia,starknet_committer: dont pass storage mut when not needed#12165nimrod-starkware wants to merge 1 commit intonimrod/parallel-reads/non-mut-getfrom
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
3a0da1d to
9416084
Compare
fd8bae5 to
253a0f6
Compare
9416084 to
59d3f11
Compare
253a0f6 to
4bc0e71
Compare
4bc0e71 to
af3028d
Compare
59d3f11 to
511535e
Compare
511535e to
30f2fe3
Compare
af3028d to
0476bff
Compare
0476bff to
36f7fd3
Compare
30f2fe3 to
65c3d46
Compare
9cfd0bf to
3d46c52
Compare
3d46c52 to
650849c
Compare
630e3c7 to
188f78c
Compare
188f78c to
50c6063
Compare
650849c to
0176a59
Compare
50c6063 to
d50807e
Compare
0176a59 to
9847b21
Compare
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp reviewed 12 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @nimrod-starkware).
9847b21 to
d902d2b
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 14 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @nimrod-starkware).
d902d2b to
48dd3a9
Compare
82c0e32 to
42bb057
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 3 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on nimrod-starkware).
42bb057 to
8ee2dc3
Compare
48dd3a9 to
16085da
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 9 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on nimrod-starkware).

Note
Low Risk
Signature-only refactor to relax mutability requirements with no logic changes; risk is limited to compile-time integration fallout or overlooked call sites.
Overview
Removes unnecessary mutable borrows of storage throughout original-skeleton-tree and Patricia traversal read paths by changing function signatures from
&mut impl Storage/&mut MapStorageto&impl Storage/&MapStorage(e.g.,create_original_skeleton_tree,fetch_nodes,get_roots_from_storage, facts traversal, and forestread_forest).Updates all callers in facts/index DB readers, OS commitment-info generation, proof fetching, and tests to match the new immutability expectations, including minor test cleanup (dropping
mutlocals/params) and a TODO notingForestReadercould also move to&self.Written by Cursor Bugbot for commit 16085da. This will update automatically on new commits. Configure here.