I'm wondering how to log/print/trace any message during the execution of a contract when submitted to the blockchain via cardano-cli
.
So basically I hoped this very simple test script would show me something:
mkValidator :: ContractInfo -> () -> () -> ScriptContext -> Bool
mkValidator _ _ _ _ = (traceIfFalse "Test" False) || True
However, when submitting a transaction with this script to cardano-cli
, it gets executed without printing anything.