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

Add bindings for BLS from Chia network #708

Merged
merged 5 commits into from
Jun 24, 2019

Conversation

mhchia
Copy link
Contributor

@mhchia mhchia commented Jun 8, 2019

What was wrong?

ethereum/py_ecc#71

How was it fixed?

Moved from ethereum/py_ecc#72.

Cute Animal Picture

put a cute animal picture link inside the parentheses

@mhchia
Copy link
Contributor Author

mhchia commented Jun 8, 2019

CI failed in

@mhchia
Copy link
Contributor Author

mhchia commented Jun 8, 2019

@carver
Copy link
Contributor

carver commented Jun 10, 2019

Sorry, flaky CI is terrible to work with :(

Working on it:

Yeah, there was a bad eth-keys release. This PR will need to be merged and released and then the test will be resolved: ethereum/eth-keys#62

Another unknown CI failure: https://circleci.com/gh/mhchia/trinity/3002?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Ugh, I haven't seen this one trigger before, but it isn't surprising, since it's sensitive to the VMs speed. We just need to increase the tolerance, I guess. Maybe 10% instead of 5%.

@mhchia
Copy link
Contributor Author

mhchia commented Jun 11, 2019

@carver No problem! Thanks a lot for the answer 🙏

@carver
Copy link
Contributor

carver commented Jun 11, 2019

eth-keys v0.2.4 is released, so I expect py36-rpc-blockchain to be fixed now 👍

Copy link
Contributor

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! Generally looks good. I added some style comments.

eth2/_utils/bls_bindings/chia_network/api.py Outdated Show resolved Hide resolved
eth2/_utils/bls_bindings/chia_network/api.py Outdated Show resolved Hide resolved


def aggregate_signatures(signatures: Sequence[BLSSignature]) -> BLSSignature:
signatures_chia = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do tuple here? Looks like the test is happy with tuple.

eth2/_utils/bls_bindings/chia_network/api.py Outdated Show resolved Hide resolved
@mhchia mhchia merged commit e573ef3 into ethereum:master Jun 24, 2019
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.

3 participants