starknet_committer: abstract fetch_all_patricia_paths#13991
Conversation
2de219b to
d746081
Compare
1e786d7 to
526b5f0
Compare
PR SummaryMedium Risk Overview
Reviewed by Cursor Bugbot for commit 823105d. Bugbot is set up for automated code reviews on this repo. Configure here. |
yoavGrs
left a comment
There was a problem hiding this comment.
@yoavGrs reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on ArielElp).
crates/starknet_committer/src/patricia_merkle_tree/tree.rs line 129 at r1 (raw file):
// prove regarding the contract storage. let Some(storage_root_hash) = leaves.get(idx).map(|leaf| leaf.clone().into().storage_root_hash)
Can you avoid cloning?
Code quote:
leaf.clone().into().storage_root_hash526b5f0 to
b6e6d57
Compare
d746081 to
1fd7795
Compare
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp partially reviewed 1 file and made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on yoavGrs).
crates/starknet_committer/src/patricia_merkle_tree/tree.rs line 129 at r1 (raw file):
Previously, yoavGrs wrote…
Can you avoid cloning?
Replaced the Clone bound with AsRef to circumvent cloning
1fd7795 to
eb0084f
Compare
b6e6d57 to
815bf53
Compare
yoavGrs
left a comment
There was a problem hiding this comment.
@yoavGrs 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 ArielElp).
815bf53 to
8acac5f
Compare
eb0084f to
7f68595
Compare
7f68595 to
adada4b
Compare
9cc1634 to
56288b6
Compare
adada4b to
260ae4f
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 1 file and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on ArielElp).
d962c4f to
b25db53
Compare
827da80 to
55283c6
Compare
b25db53 to
bbe1511
Compare
55283c6 to
9d10dee
Compare
9d10dee to
dc4126c
Compare
bbe1511 to
823105d
Compare

No description provided.