apollo_committer,starknet_committer: use blockifier's AccessedKeys#14252
Conversation
PR SummaryMedium Risk Overview
blockifier adds Reviewed by Cursor Bugbot for commit 0d7ef4c. Bugbot is set up for automated code reviews on this repo. Configure here. |
74ed1a0 to
b46768a
Compare
53fa580 to
5fc1b5d
Compare
5fc1b5d to
c805f67
Compare
b46768a to
715e282
Compare
c805f67 to
97e9ad4
Compare
d6c7ffb to
df29941
Compare
97e9ad4 to
a4466a7
Compare
a4466a7 to
a5ac682
Compare
a5ac682 to
320dff3
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 50bbdd5. Configure here.
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 1 file and all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on ArielElp and yoavGrs).
5e5b48a to
972670a
Compare
50bbdd5 to
1741bec
Compare
1741bec to
263e820
Compare
972670a to
00aaf1a
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 1 file and all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on ArielElp and yoavGrs).
00aaf1a to
74fccf6
Compare
2534a7d to
c698d25
Compare
74fccf6 to
41082ca
Compare
c698d25 to
b9f4b32
Compare
41082ca to
651ab0e
Compare
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp made 3 comments.
Reviewable status: 4 of 10 files reviewed, 3 unresolved discussions (waiting on dorimedini-starkware and yoavGrs).
crates/apollo_committer/src/committer.rs line 35 at r2 (raw file):
Previously, dorimedini-starkware wrote…
looks like this should be gated
Not needed actually
crates/starknet_committer/Cargo.toml line 18 at r2 (raw file):
Previously, dorimedini-starkware wrote…
right? not needed if no os inputs?
Done.
crates/starknet_os/src/commitment_infos.rs line 188 at r2 (raw file):
Previously, dorimedini-starkware wrote…
can't this function just be deleted now?
Agreed, note this induces using os_input in the starknet_committer dep of starknet_os, in order for fetch_previous_and_new_patricia_paths to be available there (now that blockifier and AccessedKeys are optional)
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 6 files and all commit messages, made 2 comments, and resolved 2 discussions.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on ArielElp and yoavGrs).
crates/starknet_os/src/commitment_infos.rs line 188 at r2 (raw file):
Previously, ArielElp wrote…
Agreed, note this induces using os_input in the starknet_committer dep of starknet_os, in order for fetch_previous_and_new_patricia_paths to be available there (now that blockifier and AccessedKeys are optional)
ah... so, revert. not worth the risk of activating the feature in production code.
you can consider adding an os_input feature to starknet_os, which - if active - activates the starknet_committer's feature
crates/starknet_os/Cargo.toml line 65 at r5 (raw file):
starknet-types-core.workspace = true starknet_api.workspace = true starknet_committer = { workspace = true, features = ["os_input"] }
not in production deps!
Code quote:
starknet_committer = { workspace = true, features = ["os_input"] }651ab0e to
c26c606
Compare
b9f4b32 to
ad400eb
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 2 files and all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on ArielElp and yoavGrs).
ad400eb to
1ef5a1c
Compare
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp made 2 comments.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on dorimedini-starkware and yoavGrs).
crates/starknet_os/Cargo.toml line 65 at r5 (raw file):
Previously, dorimedini-starkware wrote…
not in production deps!
Done.
crates/starknet_os/src/commitment_infos.rs line 188 at r2 (raw file):
Previously, dorimedini-starkware wrote…
ah... so, revert. not worth the risk of activating the feature in production code.
you can consider adding anos_inputfeature tostarknet_os, which - if active - activates the starknet_committer's feature
Then I think we must revert making blockifier optional in starknet_committer:
- starknet_os needs to call
fetch_previous_and_new_patricia_paths, either with the above (useless) wrapper or directly - this function only exists in starknet_committer under os_input, because of the blockifier type
So I think that either we accept os_input in starknet_committer or keep blockifier non optional
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 3 files and all commit messages, and resolved 2 discussions.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on yoavGrs).
1ef5a1c to
0d7ef4c
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 yoavGrs).


No description provided.