[BUG] - Script data json files doesn't actually support "string" #3129
Labels
Alonzo/Plutus
Relates to the Alonzo era/Plutus core
alonzo-purple
Relates to the Alonzo Purple Testnet
bug
Something isn't working
comp: cardano-cli
era: alonzo
type: bug
Something is not working
user type: internal
Created by an IOG employee
Internal/External
Internal if an IOHK staff member.
Area
Plutus Related to Plutus Scripts (Alonzo).
Summary
When attempting to use a script data file with string we see an error indicating that string is actually supported.
Steps to reproduce
cardano-cli transaction hash-script-data --script-data-file test_string.datum
where file contains{"string":"test"}
Expected a single field named "int", "bytes", "string", "list" or "map".
Unexpected object field(s): {"string":"test"}
Expected behavior
Either it converts from string to bytestring or we don't say we support "string"
System info
The text was updated successfully, but these errors were encountered: