Skip to content

Update checksummed hex implementation to use 32 byte rather than 64 byte blake2b digests#2439

Merged
casperlabs-bors-ng[bot] merged 9 commits intocasper-network:devfrom
Fraser999:2418-update-checksummed-hex-hash-impl
Dec 4, 2021
Merged

Update checksummed hex implementation to use 32 byte rather than 64 byte blake2b digests#2439
casperlabs-bors-ng[bot] merged 9 commits intocasper-network:devfrom
Fraser999:2418-update-checksummed-hex-hash-impl

Conversation

@Fraser999
Copy link
Contributor

@Fraser999 Fraser999 commented Dec 4, 2021

This PR updates the hash function used internally by the checksummed hex implementation. It is now using a 32 byte blake2b digest (as per all other usages across casper core crates) rather than the default 64 byte blake2b digest.

This is a port of #23. All commits are unmodified cherry-picks from that PR except:

  • dd6cd54 had a merge conflict in the types changelog
  • 4509b90 is a new commit as requested by @goral09 moving the blake2b function to a more logical module

Closes #2418.

@Fraser999
Copy link
Contributor Author

bors merge

@casperlabs-bors-ng
Copy link
Contributor

Build succeeded:

@casperlabs-bors-ng casperlabs-bors-ng bot merged commit 0212ebc into casper-network:dev Dec 4, 2021
@Fraser999 Fraser999 deleted the 2418-update-checksummed-hex-hash-impl branch December 5, 2021 09:00
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.

3 participants