IntersectMBO / IntersectMBO/cardano-ledger
Fix `CompactForm DeltaCoin`
Open
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
Compact form of the `DeltaCoin` isn't really used anywhere, but it is required by the `Val` type class.
The fact that it is not used should not be an excuse for it to be wrong.
`DeltaCoin` is allowed to be negative, but the compact form is backed by `Word64`, which will make negative values overflow upon compaction. This needs to be fixed.
Contributor guide
Assessment
This issue has not been assessed yet.