laudiacay / barustenberg

barretenburg in rust (here we go)
Apache License 2.0
97 stars 10 forks source link

Get pedersen + transcripts fully working, with tests #80

Open laudiacay opened 1 year ago

laudiacay commented 1 year ago

This will give you a good look into the transcripts, fiat-shamir, and pedersen commitments. I don't think it'll be too hard, most of this except the pedersen is done.

After this, the batch_commit test from the commitments bounty should be tackle-about.

laudiacay commented 1 year ago

relevant files src/transcript.rs and src/crypto/pedersen/mod.rs

laudiacay commented 1 year ago

don't bother with lookups yet for anything- just get the rest working.

laudiacay commented 11 months ago

will be awarded to @PatStiles upon closing #89

cc @brunny-eth

TomAFrench commented 4 months ago

Hey, I recently implemented a barretenberg-compatible version of pedersen commitments/hashing in https://github.com/noir-lang/noir/pull/4871 working off of the existing implementation in barustenberg as a base. I had to make the hash_to_curve function specific to grumpkin to get the choice of y to match up however (this is probably the limitations mentioned in https://github.com/laudiacay/barustenberg/issues/89).

Thought I'd mention this here in case there's interest in pushing some of these changes back into barustenberg.