apollo_starknet_os_program,blockifier: bump cairo-lang to 0.14.3a3 and regen OS hash#14455
Conversation
PR SummaryHigh Risk Overview OS / virtual OS identity updates: Client-side proving allowlist is narrowed: Reviewed by Cursor Bugbot for commit c831685. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Artifacts upload workflows: |
…d regen OS hash Bump cairo-lang Python package 0.14.3a2 -> 0.14.3a3 (requirements, prover Dockerfile, EXPECTED_CAIRO0_VERSION). The new compiler changes the OS program hash; regenerate program_hash.json, bytecode lengths, and the versioned-constants diff regression. Reduce allowed_virtual_os_program_hashes in the 0.14.3 versioned constants to only the new virtual-OS hash (LEN=1 in constants.cairo and execution_constraints.cairo). Regenerate the proof-flow fixtures (proof.bin, proof_facts.json) via the prover for the new virtual-OS hash. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
d89b192 to
c831685
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 c831685. Configure here.
Yoni-Starkware
left a comment
There was a problem hiding this comment.
@Yoni-Starkware resolved 1 discussion.
Reviewable status: 0 of 12 files reviewed, all discussions resolved (waiting on AvivYossef-starkware, dorimedini-starkware, and einat-starkware).
einat-starkware
left a comment
There was a problem hiding this comment.
@einat-starkware reviewed 12 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on AvivYossef-starkware and dorimedini-starkware).

What
Bump the
cairo-langPython package0.14.3a2→0.14.3a3and regenerate the resulting OS-program-hash regression fixtures.Changes
0.14.3a2→0.14.3a3):scripts/requirements.txt,scripts/requirements-gen.txtcrates/starknet_transaction_prover/Dockerfile(CAIRO_LANG_VERSION)apollo_infra_utilsEXPECTED_CAIRO0_VERSIONprogram_hash.json:os→0x6ca9b5d…,virtual_os→0x3407278…virtual_os_test.rsbytecode lengths: OS16367, virtual-OS11426versioned_constants_diff_regression/0.14.2_0.14.3.txtallowed_virtual_os_program_hashesin the 0.14.3 versioned constants to only the new virtual-OS hash (removed the two prior entries):blockifier_versioned_constants_0_14_3.jsonconstants.cairo(ALLOWED_VIRTUAL_OS_PROGRAM_HASHES_LEN = 1)execution_constraints.cairo(static_assert …LEN == 1, single-termis_program_hash_allowed)Verified
Clean-build, stable across consecutive runs:
apollo_starknet_os_program— all tests (program hashes, bytecode lengths, constants.cairo, formatting)blockifier::test_vc_diffs_regressionapollo_infra_utilscairo0 version-consistency (requirements ↔EXPECTED_CAIRO0_VERSION)Pending
The proof-flow fixtures (
apollo_integration_tests/resources/proof_flow/) bake the old virtual-OS hash and require prover regeneration (generate_proof_fixtures, nightly +stwo_proving). Regeneration is running; this PR will be updated with the new fixtures.🤖 Generated with Claude Code