IntersectMBO / IntersectMBO/cardano-ledger

Common language - needed, provided, and allowed

Open
#2,705 0 comments 0 reactions 0 assignees View on GitHub
:credit_card: technical-debt
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

Both Datums and Scripts have a similar set of relationships:
* items that are **needed**
* items that are **provided** by the transaction
* items that are **allowed**

Items which are allowed but not needed may not appear to have any use in the STS rules, though they can be very helpful inside of the transaction context used by plutus scripts.

Note that we always want `needed ⊆ provided ⊆ allowed`.

**Action items**:

Use these words consistently in both the spec and the implementation. We should also use these words wherever else is appropriate, such as tests, etc.

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.