go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

bn128 is needed

Open icerove opened this issue 3 years ago • 5 comments

Problem

To verify a plonk proof in Algorand, will need several bn128 opcodes, which equivalent to following ethereum precompiles: https://github.com/ethereum/go-ethereum/blob/master/core/vm/contracts.go#L75-L77

Solution

It would be possible to borrow implementation from go-ethereum.

Dependencies

github.com/ethereum/go-ethereum/crypto/bn256

Urgency

Need this to accomplish a milestone. We're Abstr Labs funded by Algorand Foundation.

icerove avatar Nov 17 '21 02:11 icerove

connect with this issue discussion. @ailisp

icerove avatar Nov 17 '21 02:11 icerove

We'll also need bls-377, and bn128/bls-381 maybe more interested to Ethereum Developers

ailisp avatar Nov 19 '21 01:11 ailisp

Worth connecting with this PR: #3655

jannotti avatar Feb 23 '22 14:02 jannotti

This is not completed.

On Thu, Sep 29, 2022, 10:43 AM Will Winder @.***> wrote:

Closed #3217 https://github.com/algorand/go-algorand/issues/3217 as completed.

— Reply to this email directly, view it on GitHub https://github.com/algorand/go-algorand/issues/3217#event-7487517822, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADL7T7WNPPCAE7ORJDYXADWAWTHPANCNFSM5IFYYA4Q . You are receiving this because you commented.Message ID: @.***>

jannotti avatar Sep 29 '22 16:09 jannotti

Reopening + added Team Scytale label. It's possible the lack of categorization is a source of confusion.

michaeldiamant avatar Sep 30 '22 21:09 michaeldiamant