IntersectMBO / IntersectMBO/cardano-base
Switch VRF to use PinnedSizedBytes
Open
- Dominant language
- Haskell
- Stars
- 105
- Forks
- 54
- Avg merge
- 9d 2h
- Merged PRs (30d)
- 4
Description
Currently VRF and BatchVRF use `ForeignPtr`s for storage in their types. Switching to `PinnedSizedBYtes` will improve type safety, reduce memory overhead and will make it more consistent with the rest of crypto implementations
Contributor guide
Research direction
The issue names VRF and BatchVRF but does not identify files or tests; start by searching the repository for those type definitions and for existing crypto implementations using PinnedSizedBytes. Confirm that both types no longer use ForeignPtr storage, then run the relevant package tests and checks to verify the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cryptography
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100