Skip to content

Commit 57b6838

Browse files
committed
add addendum about txRequiredGuards type
1 parent 099af68 commit 57b6838

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

notes/Dijkstra-transition-notes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,11 @@ but we need to distinguish at least two cases:
132132

133133
**Proposal: CIP-based split**
134134

135-
* **Guards (CIP-0112)** exist at **both levels** (`guards` field in both bodies).
136-
* **RequiredTopLevelGuards (CIP-0118)** exist only in **subTx bodies**, and they are enforced by a **phase-1 check** that top-level `guards` includes them.
135+
+ **Guards (CIP-0112)** exist at **both levels** (`guards` field in both bodies).
136+
+ **RequiredTopLevelGuards (CIP-0118)** exist only in **subTx bodies**, and they are enforced by a phase-1 check that top-level `guards` includes them.
137+
138+
**Addendum:** CIP-0112 "guards" are **credentials**, not key hashes, so `txRequiredGuards : ℙ KeyHash` should probably be something like a (nonempty?) container of `Credential`, i.e. `KeyHashObj _` *or* `ScriptObj _`.
139+
137140

138141
#### 4.2 Refactor/rename `CredsNeeded` (clarity + guards)
139142

0 commit comments

Comments
 (0)