Skip to content

Conversation

@Forostovec
Copy link

@Forostovec Forostovec commented Oct 19, 2025

Problem: serialize_proof_to_file was instantiated with Blake2sMerkleChannel, but the function is generic over the Merkle hasher (H: MerkleHasher), not the channel. This mismatch is inconsistent with the function signature and the rest of the codebase, and can cause type errors.
Solution: Removed the explicit generic parameter and let the compiler infer H from &CairoProof. This avoids confusion between channel and hasher types and aligns with established usage patterns in the repository.


This change is Reviewable

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.

1 participant