[FR] - cli query utxo cmd only display valid UTF-8 inline datum byetstrings #4078
Labels
comp: cardano-cli
enhancement
New feature or request
era: babbage
priority low
Issues/RPs that are low priority issues/PRs in relation to a minimum Shelley testnet and Shelley mai
type: enhancement
An improvement on the existing functionality
user type: internal
Created by an IOG employee
Vasil
Internal/External
Internal if an IOHK staff member.
Area
Other Any other topic (Delegation, Ranking, ...).
Describe the feature you'd like
The CLI's
query utxo
cmd attempts to decode bytestring inline datum even if it is not a valid UTF-8 value. For example, the915e807fa63409181d1533195753e3170587b1edc089be670ab483da8f9bcd48
hash looks like:If possible, it would be good to only display the decoded value when it is valid UTF-8 and display the hex value when it is not.
A valid UTF-8 value looks like:
Additional context / screenshots
Node/Cli Version: 43393ac
The text was updated successfully, but these errors were encountered: