Skip to content

fix(plutus-ledger-api): add 0x prefix to TokenName Show instance#7667

Merged
Unisay merged 1 commit into
masterfrom
yura/issue-7638-show-instance-for-tokenname-assumes-utf8
Mar 16, 2026
Merged

fix(plutus-ledger-api): add 0x prefix to TokenName Show instance#7667
Unisay merged 1 commit into
masterfrom
yura/issue-7638-show-instance-for-tokenname-assumes-utf8

Conversation

@Unisay
Copy link
Copy Markdown
Contributor

@Unisay Unisay commented Mar 16, 2026

@Unisay Unisay requested a review from lehins March 16, 2026 13:19
@Unisay Unisay self-assigned this Mar 16, 2026
Use asBase16 instead of bare encodeByteString in the Show instance
for TokenName, adding a 0x prefix to make hex output unambiguous.
This aligns Show with the existing toString function.
@Unisay Unisay force-pushed the yura/issue-7638-show-instance-for-tokenname-assumes-utf8 branch from aeb4d72 to f120171 Compare March 16, 2026 13:20
@Unisay Unisay added the No Changelog Required Add this to skip the Changelog Check label Mar 16, 2026
@Unisay Unisay enabled auto-merge (squash) March 16, 2026 13:38
@Unisay Unisay merged commit 1584608 into master Mar 16, 2026
8 of 10 checks passed
@Unisay Unisay deleted the yura/issue-7638-show-instance-for-tokenname-assumes-utf8 branch March 16, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Changelog Required Add this to skip the Changelog Check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants