Skip to content

Commit e5c008c

Browse files
authored
CIP-0032 | Adjust preamble and structure w.r.t CIP-0001 (cardano-foundation#685)
* first draft remediation of CIP-0032 * footnote idea was OK but not implemented properly in GitHub flavoured markdown
1 parent 4180f18 commit e5c008c

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

CIP-0032/README.md

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
CIP: 32
33
Title: Inline datums
4+
Status: Active
5+
Category: Plutus
46
Authors:
57
- Michael Peyton Jones <[email protected]>
68
Implementors:
79
- Michael Peyton Jones <[email protected]>
810
- Jared Corduan <[email protected]>
9-
Status: Active
10-
Category: Plutus
11+
Discussions:
12+
- https://github.com/cardano-foundation/CIPs/pull/160
1113
Created: 2021-11-29
1214
License: CC-BY-4.0
1315
---
@@ -17,7 +19,7 @@ License: CC-BY-4.0
1719
We propose to allow datums themselves to be attached to outputs instead of datum hashes.
1820
This will allow much simpler communication of datum values between users.
1921

20-
## Motivation
22+
## Motivation: why is this CIP necessary?
2123

2224
Conceptually, datums are pieces of data that are attached to outputs.
2325
However, in practice datums are implemented by attaching _hashes_ of datums to outputs, and requiring that the spending transaction provides the actual datum.
@@ -67,10 +69,10 @@ transaction_output =
6769
```
6870
TODO: should there be a dedicated production for datum-hash-or-datum? Does it need to be tagged?
6971

70-
## Rationale
72+
## Rationale: how does this CIP achieve its goals?
7173

7274
The key idea of this proposal is simply to restore the conceptually straightforward situation where datums are attached to outputs.
73-
Historically, this was the way that the EUTXO model was designed, and switching to datum hashes on outputs was done to avoid bloating UTXO entries, which at that time (pre-multiasset) were constant-size (see [1] page 7).
75+
Historically, this was the way that the EUTXO model was designed, and switching to datum hashes on outputs was done to avoid bloating UTXO entries, which at that time (pre-multiasset) were constant-size (see [^1] page 7).
7476

7577
Now that we have variable-sized UTXO entries and the accounting to support them, we can restore inline datums.
7678

@@ -163,6 +165,18 @@ The mitigating factor is that we expect this to be uncommon in practice, particu
163165

164166
Hence we choose both option 1s and do _not_ provide backwards compatibility for old language versions.
165167

166-
## References
168+
## Path to Active
169+
170+
### Acceptance Criteria
171+
172+
- [x] Fully implemented in Cardano as of the Vasil protocol upgrade.
173+
174+
### Implementation Plan
175+
176+
- [x] Passes all requirements of both Plutus and Ledger teams as agreed to improve Plutus script efficiency and usability.
177+
178+
## Copyright
179+
180+
This CIP is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode).
167181

168-
[1]: Chakravarty, Manuel MT, et al. "The extended UTXO model."
182+
[^1]: Chakravarty, Manuel M. T. et al., "The extended UTXO model"

0 commit comments

Comments
 (0)