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

Bump fastcrypto version #8228

Merged
merged 11 commits into from
Feb 13, 2023
Merged

Bump fastcrypto version #8228

merged 11 commits into from
Feb 13, 2023

Conversation

jonas-lj
Copy link
Contributor

@jonas-lj jonas-lj commented Feb 10, 2023

This PR bumps Sui to the most recent version of fastcrypto. There's been a few changes in the traits in fastcrypto, namely that signature::Signer and signature::Signature are no longer used. In fastcrypto, these were replaced with new internal traits Signer and ToFromBytes respectively.

The new Signer trait does not have a try_sign function like the previous one, but the only place this ever returns an error is SuiInnerSiganture::new if a serialised signature does not have the correct size. This should never happen, so we can safely remove this error.

Besides the removed error, this does not introduce any functional changes.

@vercel
Copy link

vercel bot commented Feb 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Ignored Deployments
Name Status Preview Comments Updated
explorer ⬜️ Ignored (Inspect) Feb 13, 2023 at 11:10AM (UTC)
explorer-storybook ⬜️ Ignored (Inspect) Feb 13, 2023 at 11:10AM (UTC)
frenemies ⬜️ Ignored (Inspect) Feb 13, 2023 at 11:10AM (UTC)
wallet-adapter ⬜️ Ignored (Inspect) Feb 13, 2023 at 11:10AM (UTC)

@jonas-lj jonas-lj marked this pull request as ready for review February 13, 2023 12:19
@jonas-lj jonas-lj merged commit a4a8e1a into MystenLabs:main Feb 13, 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.

2 participants