IntersectMBO / IntersectMBO/cardano-ledger

Switch RequireMOf decoder to reject negative numbers

Open
#6,086 0 comments 0 reactions 1 assignee Claimed by @f-f View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.