Skip to content

cooked-node-backend - #536

Draft
mmontin wants to merge 17 commits into
mainfrom
mm/cooked-node-backend
Draft

cooked-node-backend#536
mmontin wants to merge 17 commits into
mainfrom
mm/cooked-node-backend

Conversation

@mmontin

@mmontin mmontin commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@mmontin
mmontin force-pushed the mm/cooked-node-backend branch 5 times, most recently from 58ab7ac to de4e6a8 Compare August 5, 2026 14:51
mmontin and others added 11 commits August 5, 2026 23:12
Introduce a `SomeTxSkelOutDatumHash` constructor for `TxSkelOutDatum`
representing an output datum known only by its hash, and propagate it
throughout the codebase:

- Datum.hs: Eq/Ord, kind/typed optics, datum-hash fold and ToOutputDatum
- GenerateTx/Output.hs: emit a TxOutDatumHash
- GenerateTx/Input.hs: throw the new MCESpendingHashOnlyDatum error when a
  spending witness would require the (absent) datum content
- State.hs: mirror it with a new UtxoPayloadDatumHash constructor
- Pretty printers for the skeleton, UTxO state and the new error

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Introduce a `UserScriptHash Api.ScriptHash` constructor for `User`,
allowing outputs to be paid to a bare script hash via `receives`. Since
such an owner carries no script body or version, spending it recovers the
full script from the redeemer's reference input and errors with the new
`MCESpendingHashOnlyScript` otherwise. `userVScriptL` is narrowed to
`User IsScript Redemption` accordingly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mmontin
mmontin force-pushed the mm/cooked-node-backend branch from be3d00b to bf2f707 Compare August 5, 2026 21:14
@mmontin
mmontin force-pushed the mm/cooked-node-backend branch from d485d7c to 89a51ba Compare August 6, 2026 15:57
@mmontin
mmontin force-pushed the mm/cooked-node-backend branch from 89a51ba to e086e9b Compare August 6, 2026 18:51
@mmontin
mmontin force-pushed the mm/cooked-node-backend branch from 360b64f to e2898ff Compare August 7, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant