IntersectMBO / IntersectMBO/formal-ledger-specifications

Use different types for payment and stake credentials

Open
#876 0 comments 0 reactions 0 assignees View on GitHub
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

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.