Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch crypto library to onflow/crypto #4551

Closed
wants to merge 3 commits into from
Closed

Conversation

SupunS
Copy link
Member

@SupunS SupunS commented Jul 11, 2023

🚧 Experimental

The latest version of flow-go-sdk uses the crypto library from https://github.com/onflow/crypto, where as flow-go repo is using the crypto library from https://github.com/onflow/flow-go/tree/master/crypto.

Because of this, updating to the latest Cadence (and hence flow-go-sdk), requires converting crypto-related types between the two libraries. But that can lead to inconsistencies (always need to keep the two libraries synced, etc.) and hence is a bit brittle.

Alternatively, this PR updates flow-go to also use the new crypto library from onflow/crypto, so the type conversions are not needed.

@SupunS SupunS closed this Jul 12, 2023
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.

1 participant