jellyfish icon indicating copy to clipboard operation
jellyfish copied to clipboard

[Refactor] Adding constructors for KZG parameters

Open chancharles92 opened this issue 1 year ago • 1 comments

Issue: breaking changes after editing the fields of SRS/VerifierParams: https://espresso.zulipchat.com/#narrow/stream/330838-Crypto/topic/Powers.20of.20g.2Ch/near/405171215 TODO: Add constructor methods new() for KZG parameters, including SRS, ProverParams, and VerifierParams.

(cc @mrain @ggutoski @alxiong )

chancharles92 avatar Nov 30 '23 18:11 chancharles92

we should also add From<ark_poly_commit::kzg10::UniversalParam> for SRS that avoids expensive memory copy (if possible)

it's possible that in order to avoid mem-copy without unsafe rust, we can only write specialized conversion for concrete types instead of generic function.

alxiong avatar Mar 08 '24 12:03 alxiong