blockifier: add CallInfo::get_visited_contract_addresses#14101
Conversation
PR SummaryLow Risk Overview This is a read-only helper that does not traverse inner calls (callers should use Reviewed by Cursor Bugbot for commit 74e1e2a. Bugbot is set up for automated code reviews on this repo. Configure here. |
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp reviewed 1 file and made 1 comment.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on yoavGrs).
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).
a0228f5 to
066d324
Compare
bb4ce82 to
59f8b30
Compare
Mirrors the Python state-selector walk that drives the OS contracts-trie input set. Yields the call's own storage_address, its code_address when set (delegate-style calls), and the contents of storage_access_tracker.accessed_contract_addresses. No new field is added — the data is derived from existing CallEntryPoint and StorageAccessTracker fields. Inner calls are not traversed by this method — use CallInfo::iter to walk the tree. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
066d324 to
74e1e2a
Compare
|
Artifacts upload workflows: |
Merge activity
|
dorimedini-starkware
left a comment
There was a problem hiding this comment.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on yoavGrs).

Mirrors the Python state-selector walk that drives the OS contracts-trie
input set. Yields the call's own storage_address, its code_address when set
(delegate-style calls), and the contents of
storage_access_tracker.accessed_contract_addresses. No new field is added —
the data is derived from existing CallEntryPoint and StorageAccessTracker
fields. Inner calls are not traversed by this method — use CallInfo::iter
to walk the tree.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com