chore(refactor): update to use new openvm-stark-backend (v2)#2412
Merged
jpw-axiom merged 19 commits intodevelop-v2.0.0-betafrom Feb 16, 2026
Merged
chore(refactor): update to use new openvm-stark-backend (v2)#2412jpw-axiom merged 19 commits intodevelop-v2.0.0-betafrom
openvm-stark-backend (v2)#2412jpw-axiom merged 19 commits intodevelop-v2.0.0-betafrom
Conversation
Update import paths to reflect the new module structure where config, rap, and engine items are re-exported at crate root, rap::AnyRap is renamed to AnyAir, and prover submodules (cpu, hal, types) are flattened into prover::. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Delete the ChipUsageGetter derive macro, all impl blocks, and imports across 18 files. Inline trace_width/current_trace_height calls at their call sites within generate_proving_ctx methods. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…y, MultiStarkVerifyingKey The v2 stark backend migration removed SC generics from these types (using concrete type aliases instead). Now that the backend types are properly generic again, restore SC parameters throughout the codebase: - CpuBackend → CpuBackend<SC>, CpuDevice → CpuDevice<SC> - Proof → Proof<SC>, MultiStarkProvingKey<SC>, MultiStarkVerifyingKey<SC> - Remove all `type SC = openvm_stark_backend::SC` concrete aliases - Remove `SC = openvm_stark_backend::SC` bounds from StarkEngine where clauses - Revert from_v1_no_cached workaround in system trace generation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes imports and usage for v2
openvm-stark-backendandopenvm-cuda-backend.So far all positives tests in
crates/circuits/,crates/vm/, andextensions/pass on CPU and GPU. Negative tests need further fixing (ref INT-5907).ref INT-4746