Skip to content

fix(sdk): clarify proof bytes() encoding for compressed vs snark proofs#466

Merged
eigmax merged 1 commit intoProjectZKM:mainfrom
GarmashAlex:fix/sdk-proof-bytes-docs
Mar 6, 2026
Merged

fix(sdk): clarify proof bytes() encoding for compressed vs snark proofs#466
eigmax merged 1 commit intoProjectZKM:mainfrom
GarmashAlex:fix/sdk-proof-bytes-docs

Conversation

@GarmashAlex
Copy link
Contributor

ZKMProofWithPublicValues::bytes() supported ZKMProof::Compressed by returning a bincode-serialized payload used by the off-chain STARK verifier, but its rustdoc described the method as an onchain-only (Plonk/Groth16) encoding. This mismatch could mislead users and make it unclear which proof variants are actually supported.

@eigmax eigmax merged commit 7af605d into ProjectZKM:main Mar 6, 2026
3 checks passed
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.

2 participants