Open
Description
Internal/External
Internal if an IOHK staff member.
Area
Plutus Related to Plutus Scripts (Alonzo).
Summary
When using cli's build
cmd there's no feedback when using a plutus script that fails isScriptWellFormed
. The MalformedScriptWitnesses
error is seen on submit, so this is mostly a UX improvement. This check should be performed before phase-2 script evaluation.
Steps to reproduce
This can probably be recreated by attempting to use malformed script (edit the hex code of a valid script). But I found it this way:
- Using a node build that prohibits the use of SECP builtin functions 950c4e2
build
a transction with a plutus V2 script that uses one of the SECP functions- Observe phase-2 error "Plutus script evaluation failed"
Expected behavior
Phase-1 error MalformedScriptWitnesses
or some other indication of isScriptWellFormed
failure
System info
Node version 950c4e2