Skip to content

Conversation

@Yoni-Starkware
Copy link
Collaborator

@Yoni-Starkware Yoni-Starkware commented Feb 8, 2026

Remove keccak syscall support from the Virtual OS to reduce its footprint.


Note

Medium Risk
Changes virtual-OS syscall surface and program hashes, so any client-side proving/verification and tooling that still expects Keccak in virtual mode or the old hashes will break until updated.

Overview
Removes Keccak syscall support from the Virtual OS by deleting the selector import and dispatch branch in execute_syscalls__virtual.cairo, reducing the virtual OS program footprint.

Updates all allowlists and hash pins to the newly built virtual OS: ALLOWED_VIRTUAL_OS_PROGRAM_HASHES (Cairo constants), program_hash.json (os and virtual_os), and Blockifier’s allowed_virtual_os_program_hashes constants/diff regression data. Adjusts tests to reflect the new virtual OS bytecode length and resulting gas expectation deltas in bouncer_test.rs.

Written by Cursor Bugbot for commit dc89714. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link

This change is Reviewable

@Yoni-Starkware Yoni-Starkware changed the base branch from main to main-v0.14.2 February 8, 2026 08:45
Copy link
Contributor

@AvivYossef-starkware AvivYossef-starkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

@AvivYossef-starkware reviewed 10 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @noaov1).

@Yoni-Starkware Yoni-Starkware force-pushed the yonatan/remove-keccak-virtual-os branch 3 times, most recently from f829cd2 to b98f6d8 Compare February 8, 2026 14:06
@Yoni-Starkware Yoni-Starkware force-pushed the yonatan/remove-keccak-virtual-os branch from b98f6d8 to dc89714 Compare February 8, 2026 15:58
Copy link
Collaborator Author

@Yoni-Starkware Yoni-Starkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

@Yoni-Starkware reviewed 4 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @noaov1).

@Yoni-Starkware Yoni-Starkware added this pull request to the merge queue Feb 8, 2026
Merged via the queue into main-v0.14.2 with commit 5db49c8 Feb 8, 2026
24 of 39 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 10, 2026
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