Skip to content

blockifier: share sycall usage functions between native and vm #8375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

einat-starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link

github-actions bot commented Aug 3, 2025

Artifacts upload workflows:

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@einat-starkware einat-starkware marked this pull request as ready for review August 3, 2025 07:08
@einat-starkware einat-starkware force-pushed the einat/08-03-blockifier_share_sycall_usage_functions_between_native_and_vm branch from fa2e304 to 3ae1a24 Compare August 3, 2025 07:09
Copy link
Collaborator

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avi-starkware)


crates/blockifier/src/execution/syscalls/hint_processor.rs line 476 at r1 (raw file):

    fn increment_syscall_count_by(&mut self, selector: &SyscallSelector, count: usize) {
        self.base.increment_syscall_count_by(*selector, count);
    }

Is this method needed?

Code quote:

    fn increment_syscall_count_by(&mut self, selector: &SyscallSelector, count: usize) {
        self.base.increment_syscall_count_by(*selector, count);
    }

Copy link
Collaborator

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @avi-starkware)


crates/blockifier/src/execution/syscalls/hint_processor.rs line 476 at r1 (raw file):

Previously, noaov1 (Noa Oved) wrote…

Is this method needed?

Needed for the SyscallExecutor trait.

@einat-starkware einat-starkware added this pull request to the merge queue Aug 4, 2025
Merged via the queue into main-v0.14.0 with commit bea3aec Aug 4, 2025
23 of 26 checks passed
@einat-starkware einat-starkware deleted the einat/08-03-blockifier_share_sycall_usage_functions_between_native_and_vm branch August 4, 2025 11:27
@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants