Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

neogo: add end-to-end test for ExportNeoGo Groth-16 BLS12-381 curve #3

Closed
wants to merge 1 commit into from

Conversation

AnnaShaleva
Copy link

Ref. Consensys/gnark#799.

Here's the example of end-to-end test that uses new VerifyingKey.ExportToNeoGo API to build Neo Verifier smart contract written in Go. After that, the contract is being deployed to the Neo testing chain and invoked to verify some proof.

This PR needs a proper version of https://github.com/Consensys/gnark to be set in go.mod for TestExportNeoGo_EndToEnd to pass successfully. I've tested it locally (a bit of magic is required to set proper dependency versions), and it passes successfully,

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@AnnaShaleva
Copy link
Author

Close as not planned, ref. Consensys/gnark#799 (comment).

@AnnaShaleva AnnaShaleva closed this Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant