Skip to content

Change upstream go-crypto PrivKey API and update Amino version to 0.10.0#1721

Closed
cwgoes wants to merge 44 commits intodevelopfrom
cwgoes/go-crypto-interface-changes
Closed

Change upstream go-crypto PrivKey API and update Amino version to 0.10.0#1721
cwgoes wants to merge 44 commits intodevelopfrom
cwgoes/go-crypto-interface-changes

Conversation

@cwgoes
Copy link
Contributor

@cwgoes cwgoes commented Jun 8, 2018

Change upstream go-crypto API to return errors on Sign().

This PR also removes CGO_ENABLED=0 - we need CGO for the upstream go-crypto now, along with CLevelDB in the future - and adds a make build_docker command for binary-hash-reproducible builds. Note that the binary is dynamically linked, so users wishing to completely reproduce builds will need to link the same version of libc which ships with the golang Docker container.

As this includes the new Amino version, this is breaking, especially for priv_validator.json (Amino encoding of int/int64 changed to strings).

Closes #1545.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants