Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Ledger/Conway/Conformance/Utxow.agda
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ data _⊢_⇀⦇_,UTXOW⦈_ where
refScriptHashes = mapˢ hash (refScripts tx utxo)
neededScriptHashes = mapPartial (isScriptObj ∘ proj₂) (credsNeeded utxo txb)
neededVKeyHashes = mapPartial (isKeyHashObj ∘ proj₂) (credsNeeded utxo txb)
∪ reqSignerHashes
txdatsHashes = mapˢ hash txdats
inputsDataHashes = mapPartial (λ txout → if txOutToP2Script utxo tx txout
then txOutToDataHash txout
Expand Down
1 change: 1 addition & 0 deletions src/Ledger/Conway/Specification/Utxow.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ data _⊢_⇀⦇_,UTXOW⦈_ : UTxOEnv → UTxOState → Tx → UTxOState → Typ
refScriptHashes = mapˢ hash (refScripts tx utxo)
neededScriptHashes = mapPartial (isScriptObj ∘ proj₂) (credsNeeded utxo txb)
neededVKeyHashes = mapPartial (isKeyHashObj ∘ proj₂) (credsNeeded utxo txb)
∪ reqSignerHashes
txdatsHashes = mapˢ hash txdats
inputsDataHashes = mapPartial (λ txout → if txOutToP2Script utxo tx txout
then txOutToDataHash txout
Expand Down