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

fix: accurately allocate hashes to 28 byte type #342

Merged
merged 1 commit into from Oct 20, 2020

Conversation

rhyslbw
Copy link
Contributor

@rhyslbw rhyslbw commented Oct 20, 2020

Context

Closes #271

Proposed Solution

Add a new type for 28 byte hex encoded hashes, refactor the existing to a better name, and revert 9e28ffa

Important Changes Introduced

BREAKING CHANGES:

  • Hash32HexString -> Hash32Hex
  • Hash32HexString_comparison_exp -> Hash32Hex_comparison_exp
  • SlotLeader.hash, StakePool.hash, StakePoolOwner.hash are now Hash28Hex type

BREAKING CHANGE:
- Hash32HexString -> Hash32Hex
- Hash32HexString_comparison_exp -> Hash32Hex_comparison_exp
- SlotLeader.hash, StakePool.hash, StakePoolOwner.hash are now Hash28Hex type
@rhyslbw rhyslbw added the BUG label Oct 20, 2020
@rhyslbw rhyslbw merged commit 3094082 into master Oct 20, 2020
@rhyslbw rhyslbw deleted the fix/hash-28-hex-type branch October 20, 2020 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong name "Hash32HexString"
1 participant