File tree Expand file tree Collapse file tree
src/Ledger/Dijkstra/Specification Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,10 +16,8 @@ The primary guiding design principles are
1616+ ** Spend-side safety** . All spending inputs across the whole batch must
1717 come from a pre-batch UTxO snapshot (see point 6 of the
1818 [ Changes to Transaction Validity] [ 1 ] section of CIP-0118);
19- + ** Batch-scoped witnesses** . Scripts and datums are collected once per batch and
20- then shared for phase-2 evaluation; CIP-0118 explicitly states that reference
21- scripts, and by implication reference-input-resolved UTxO entries, could be
22- outputs of preceding transactions in the batch (see point 5 of the
19+ + ** Batch-scoped witnesses** . Scripts are collected once per batch and
20+ then shared for phase-2 evaluation (see point 5 of the
2321 [ Changes to Transaction Validity] [ 1 ] section of CIP-0118);
2422+ ** Batch-consistency** . No two transactions in the batch may spend the
2523 same input. This is enforced explicitly at the top level by a predicate
@@ -387,7 +385,7 @@ allP2ScriptsWithContext Γ txTop =
387385 p2ScriptsWithContext : Tx ℓ → List (P2Script × List Data × ExUnits × CostModel)
388386 p2ScriptsWithContext t =
389387 collectP2ScriptsWithContext (PParamsOf Γ)
390- txTop
388+ t
391389 (UTxOOf Γ) -- (1)
392390 (ScriptPoolOf Γ) -- (2)
393391```
You can’t perform that action at this time.
0 commit comments