Skip to content

Require NFData for VRF associated types#656

Open
dancewithheart wants to merge 1 commit into
IntersectMBO:masterfrom
dancewithheart:pp/require-nfdata-crypto-type-families
Open

Require NFData for VRF associated types#656
dancewithheart wants to merge 1 commit into
IntersectMBO:masterfrom
dancewithheart:pp/require-nfdata-crypto-type-families

Conversation

@dancewithheart
Copy link
Copy Markdown
Contributor

Fix #533

Description

This adds NFData superclass constraints for the VRF associated types in VRFAlgorithm:

  • VerKeyVRF
  • SignKeyVRF
  • CertVRF

Tested with:

cabal build all --enable-tests --enable-benchmarks

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages.
    New section is never added with the code changes. (See RELEASING.md)
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated.
    If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • Self-reviewed the diff

@dancewithheart dancewithheart requested a review from lehins as a code owner May 15, 2026 15:46
Copy link
Copy Markdown
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
Thank you!

@dancewithheart
Copy link
Copy Markdown
Contributor Author

You're very welcome! Glad I could help 🙂

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.

Require NFData for all crypto type families.

2 participants