IntersectMBO / IntersectMBO/formal-ledger-specifications
Use different types for payment and stake credentials
Open
enhancement
refactor
- Dominant language
- Agda
- Stars
- 52
- Forks
- 20
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 7
Description
When defining `calculatePoolDistr` in #854, it became apparent that it is easy to neglect checking that comparisons of credentials make sense.
Since there are credentials for payments and stake delegation, comparison is reasonable between payment credentials or between stake credentials. But I don't think we want to compare a payment credential with a stake credential. Therefore, I'm proposing to introduce different Credential types to distinguish the two.
Contributor guide
Assessment
This issue has not been assessed yet.