Skip to content

submissions(two_party_escrow): re-pin asData variant to c663b17 (name-only)#241

Merged
Unisay merged 1 commit into
mainfrom
yura/tpe-asdata-repin
Jul 10, 2026
Merged

submissions(two_party_escrow): re-pin asData variant to c663b17 (name-only)#241
Unisay merged 1 commit into
mainfrom
yura/tpe-asdata-repin

Conversation

@Unisay

@Unisay Unisay commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Refreshes submissions/two_party_escrow/Plinth_1.65.0.0_Unisay_asdata from plinth-cape-submissions c663b17, which merged the "derive the by-name decoder layout from the type" change. That commit swaps the hand-written Decoder.Named FieldAt tag types for a Template Haskell deriver and renames the escrow datum type to a bare Datum.

For this submission the effect is text only. The datum rename survives into one instance-binder name in the pretty-printed UPLC, $fUnsafeFromDataEscrowDatum_$cunsafeFromBuiltinData becomes $fUnsafeFromDataDatum_$cunsafeFromBuiltinData, on three lines. The serialized program is name-independent, so script size, fee, CPU, memory, and every evaluation outcome stay exactly the same. metrics.json is therefore left untouched.

Verification

I rebuilt the artifact independently from c663b17 (cabal run plinth-submissions, the documented default) rather than copying it:

  • Rebuilt .uplc md5 b3d22af3eb39db4d9cea8d3f8986b4ae (was a12c552da685e54a0e0412da50dc21d6).
  • Diff against the committed artifact is exactly three lines, all the binder rename above.
  • cape submission measure on the mainnet changPV evaluator reproduces the committed metrics unchanged: fee 311093 lovelace, script size 2558 bytes, term size 2188, 47/47 evaluations pass.
  • As a toolchain cross-check, the same build reproduces the committed mainnet two_party_escrow, htlc, and linear_vesting artifacts byte for byte.

Changes

  • two_party_escrow.uplc: three instance-binder name lines.
  • metadata.json: source_commit_hash 4b321504 to c663b17, with a note on the name-only nature of the change.
  • source/README.md: commit reference and checkout command bumped to c663b17.
  • metrics.json: unchanged.

…-only)

Refresh submissions/two_party_escrow/Plinth_1.65.0.0_Unisay_asdata from
plinth-cape-submissions c663b17, which derives the by-name decoder layout from
the type and renames the escrow datum type to a bare Datum. That rename
survives into one instance-binder name in the pretty-printed UPLC
($fUnsafeFromDataEscrowDatum -> $fUnsafeFromDataDatum) on three lines. The
serialized program is name-independent, so script size, fee, CPU, memory, and
every evaluation outcome are unchanged; metrics.json is left untouched.

Rebuilt independently from c663b17: md5 b3d22af3 (was a12c552d), diff is
exactly the three binder-name lines, and cape submission measure reproduces
the committed metrics (fee 311093, 2558 B, term 2188, 47/47).

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refreshes the two_party_escrow Plinth asData submission to point at plinth-cape-submissions commit c663b17…, reflecting an upstream rename of the escrow datum type to Datum that only affects pretty-printed UPLC binder names (not serialized behavior or metrics).

Changes:

  • Update two_party_escrow.uplc to reflect a binder rename (EscrowDatumDatum) on three lines.
  • Re-pin metadata.json to the new upstream source commit and document that the change is name-only.
  • Update the source reproduction README to reference the new upstream commit.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
submissions/two_party_escrow/Plinth_1.65.0.0_Unisay_asdata/two_party_escrow.uplc Updates three instance-binder names to match the upstream type rename (pretty-print only).
submissions/two_party_escrow/Plinth_1.65.0.0_Unisay_asdata/metadata.json Re-pins source_commit_hash to c663b17…, updates submission timestamp, and notes the change is name-only.
submissions/two_party_escrow/Plinth_1.65.0.0_Unisay_asdata/source/README.md Updates the referenced upstream commit and checkout command to reproduce the artifact.

@Unisay Unisay marked this pull request as ready for review July 10, 2026 09:20
@Unisay Unisay merged commit 276738c into main Jul 10, 2026
7 checks passed
@Unisay Unisay deleted the yura/tpe-asdata-repin branch July 10, 2026 09:20
@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR Preview Deployed

Preview URL: https://intersectmbo.github.io/UPLC-CAPE/pr-241/

The preview site is automatically updated on every push to this PR and will be removed when the PR is closed.

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.

2 participants