IntersectMBO / IntersectMBO/cardano-ledger
Switch RequireMOf decoder to reject negative numbers
Open
DijkstraEra
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
Make sure decoder and CDDL for this case reject negative values:
https://github.com/IntersectMBO/cardano-ledger/blob/116dab4b22e3ee21b31f6d5e7814306d660c76ac/eras/dijkstra/impl/src/Cardano/Ledger/Dijkstra/Scripts.hs#L303
Type should stay the same, so we continue being backwards compatible with respect to Haskell API
Contributor guide
Assessment
This issue has not been assessed yet.