Skip to content

Adjust generate-pie processing for POC#502

Open
Mohiiit wants to merge 25 commits intomainfrom
poc-gen-pie-updates
Open

Adjust generate-pie processing for POC#502
Mohiiit wants to merge 25 commits intomainfrom
poc-gen-pie-updates

Conversation

@Mohiiit
Copy link
Copy Markdown
Collaborator

@Mohiiit Mohiiit commented Jan 20, 2026

POC-related updates in generate-pie flow and dependencies.

Mohiiit and others added 25 commits December 1, 2025 19:08
- Add class_hash_v2() to GenericCasmContractClass and GenericCompiledClass
- Implement StateReader::get_compiled_class_hash_v2() trait method
- Add compute_compiled_class_hash_v2() standalone function
- Update declared classes processing to use BLAKE2s hash (SNIP-34)
- Add migrated_compiled_classes field to BlockInfoResult
- Extract migrated_compiled_classes from state diff (SNIP-34)
- Populate class_hashes_to_migrate in OsBlockInput
- Thread migrated classes through block processing pipeline
- DRY: Extract compute_compiled_class_hash_internal helper
- DRY: Extract get_compiled_class_hash_with_version_async helper
- Move HashVersion import to top of file
- Add migrated_class_hashes() helper to BlockInfoResult
- Simplify lib.rs by removing verbose tuple destructuring
- Update e2e tests with 0.14.1 sepolia blocks
* this maintains state of rpc-replay service across restarts
Replace use_v2: bool parameter with typed CompiledClassHashVersion
enum for hash version selection. More idiomatic Rust with better
type safety and self-documenting code.
@Mohiiit Mohiiit requested a review from prkpndy as a code owner January 20, 2026 16:53
Base automatically changed from feat/0.14.1 to main February 23, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants