Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Porting BLS module to py_ecc #329

Closed
3 tasks done
ChihChengLiang opened this issue Feb 27, 2019 · 1 comment
Closed
3 tasks done

Porting BLS module to py_ecc #329

ChihChengLiang opened this issue Feb 27, 2019 · 1 comment
Assignees
Labels

Comments

@ChihChengLiang
Copy link
Contributor

ChihChengLiang commented Feb 27, 2019

What is wrong?

As the API in BLS module stabilized, it's time to port it to py_ecc. Better benchmarking and optimization would be easier to work there.

How can it be fixed

The steps of migration:

  1. Port BLSPubkey and BLSSignature types to eth_typing. The BLS module depends on these two. Add BLSPubkey and BLSSignature eth-typing#12
  2. Port APIs in eth2/_utils/bls.py to py_ecc repo. Port BLS module py_ecc#51
  3. On the new releases of eth_typing and py_ecc. Remove eth2/_utils/bls.py and use the functions from the packages.
@hwwhww
Copy link
Contributor

hwwhww commented Feb 27, 2019

Note that it becomes higher priority task because the ultra goal is wrapping BLS modules with Cython for performance! ethereum/py_ecc#50

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants