I have a minting policy:
mkNftValidator :: NftParams -> BuiltinData -> ScriptContext -> Bool mkNftValidator _ _ _ = (traceIfFalse "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" False)
once I build the correct transaction with 'cardano-cli transaction build-raw' (cardano-cli version 1.35.3), and submit it, I am not getting this trace message anywhere, output only says
... CekError An error has occurred: User error:\nThe machine terminated because of an error, either from a built-in function or from an explicit use of 'error' ...
If I change the validator code to:
mkNftValidator :: NftParams -> BuiltinData -> ScriptContext -> Bool mkNftValidator _ _ _ = True
Transaction is then successfully submitted.
How can I see this traceIfFalse message in the cardano-cli output? Am I missing something?