apollo_starknet_os_program: remove keccak syscall from virtual OS #12355
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Keccakin virtual mode or the old hashes will break until updated.Overview
Removes
Keccaksyscall support from the Virtual OS by deleting the selector import and dispatch branch inexecute_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(osandvirtual_os), and Blockifier’sallowed_virtual_os_program_hashesconstants/diff regression data. Adjusts tests to reflect the new virtual OS bytecode length and resulting gas expectation deltas inbouncer_test.rs.Written by Cursor Bugbot for commit dc89714. This will update automatically on new commits. Configure here.