Skip to content

fix(site): put transfer-set and posted totals back on the card - #124

Draft
c-1k wants to merge 1 commit into
masterfrom
ship/receipt-card-truth
Draft

fix(site): put transfer-set and posted totals back on the card#124
c-1k wants to merge 1 commit into
masterfrom
ship/receipt-card-truth

Conversation

@c-1k

@c-1k c-1k commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Evidence that the #122 Codex P1s still hold on master

Verified against origin/master after #122 (a153f261; current tip also has #123).

P1 — transfer-set root and pairs (site/app/r/components/receipt-card.tsx on a153f261, lines 223–228):

<span data-transfer-set={...}>transfer-set root</span>
{" — "}
{transfers.rootMeaning}

transfers.root was never rendered. transfers.pairs had no mount after ReceiptArtifact left verified-receipt.tsx. The meaning string for a present list still said the pairs were “below.”

P1 — posted / rounding (verified-receipt.tsx no longer mounts ReceiptArtifact; those fields lived only at receipt-artifact.tsx:172–173). The card invoice showed only the assessed total. CHAIN_COMMITTED_SPEND_FIELDS still says the totals and roundingAdjustment are “rendered on the receipt above.”

What this PR does

On the card’s paper slip: HashValue for transfers.root, the pair list when transferSet is present, postedUsertokens, and roundingAdjustment. C1 now asserts the committed root, a pair id, and rounding 14 ut.

Draft. Do not merge until asked.

#122 dropped ReceiptArtifact from the verified page. The replacement
card printed "transfer-set root" and its meaning without the digest or
the pair list (receipt-card.tsx:223-228 on a153f26), and it never
rendered postedUsertokens or roundingAdjustment. The display annex
still says those chain-committed fields are above.

Render the root through HashValue, the pairs when present, and both
posted and rounding on the paper slip.

Co-Authored-By: Grok 4.6 <grok@x.ai>
Signed-off-by: Cam <cam@camwhiteus.com>
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