Skip to content

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

Open
GarmashAlex wants to merge 1 commit intoProjectZKM:mainfrom
GarmashAlex:fix/sdk-proof-bytes-docs
Open

fix(sdk): clarify proof bytes() encoding for compressed vs snark proofs#466
GarmashAlex wants to merge 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.

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