ChainSafe / chainbridge-celo

GNU Lesser General Public License v3.0
3 stars 2 forks source link

Add CommitedSeal data to SignatureVerification #124

Closed waymobetta closed 3 years ago

waymobetta commented 3 years ago

WIP

Description

CommitedSeal data is needed for additional BLS signature verification of the block.

Note: In order for this to be tested either Celo PR #23 needs to be merged or the go.mod needs to be modified to replace the celo-bls-go package with the cloned, local version of the referenced celo-bls-go package with the branch kobigurk/arkworks checked out.

Additional Note: This also contains code from the current Add encoding of APK and Signature for contract readability PR currently in progress. It is assumed that that PR will be merged prior to this one.

TODO:

Related Issue Or Context

Closes: #119

How Has This Been Tested? Testing details.

Added tests for:

Types of changes

Checklist: